Runner update failed when running inside a docker container
See original GitHub issueDescribe the bug I have a Github Actions runner program running inside a docker container. It ran well for a month until it got to update to a newer version.
To Reproduce Steps to reproduce the behavior:
- Download docker runner v2.277.1 and configure it.
- Use
COPY
to copy the docker runner into a docker image. - Run the docker container.
- Wait for a new version(v2.278.0) and update.
Expected behavior The runner inside the docker container gets updated automatically without error.
Runner Version and Platform
Version of your runner? Original version is v2.277.1, updating to v2.278.0.
OS of the machine running the runner? OSX/Windows/Linux/… 18.04.1-Ubuntu
What’s not working?
Update fails with following output:
√ Connected to GitHub
2021-04-23 01:39:18Z: Listening for Jobs
Runner update in progress, do not shutdown runner.
Downloading 2.278.0 runner
An error occurred: Access to the path is denied.
Issue Analytics
- State:
- Created 2 years ago
- Comments:18 (8 by maintainers)
Top Results From Across the Web
Docker apt-get update fails - ubuntu
First thing to check is run cat /etc/resolv.conf in the docker container. If it has an invalid DNS server, such as nameserver 127.0....
Read more >Error : The version of this runner is outdated. Up...
I faced the above error when using self-hosted Linux Docker Runner, I had tried to update the docker image and yet the system...
Read more >Troubleshoot self-hosted runner
When container runner is hosted on a separate node, the task will still look like it is running in the CircleCI UI until...
Read more >How to Fix and Debug Docker Containers Like a Superhero
Container errors are tricky to diagnose, but some investigative magic works wonders. Read along to learn how to debug Docker containers.
Read more >Troubleshooting GitLab Runner
If you want to use Docker executor, and you are connecting to Docker Engine installed on server. You can see the Permission Denied...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would also like to tell the runner to not update itself. Does anybody know how, please?
Thank you, @leoluk, @DaHuoKolmostar!
We will investigate it.