-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No space left on device #322
Comments
You have a few questions here Ephemeral mode is documented here
You'll need to resolve your permissions, but I dont know what issue youre having specifically
If youre not using volumes or configuring anything, docker has a default storage size for containers set to 10gb or 100gb depending on your versions My guess for your scenario is to see if ephemeral mode is actually working as expected
|
Perhaps the container should clear /_work when doing '√ Removed .runner' as the container is not removed in a docker compose context? |
No that's dockers job to clear containers Does it exit when it finishes a job? |
yes, according to the docker dashboard last the started column indicates a fresh start... but I believe you might be missing something. When running containers as docker compose containers are not deleted after they exit. There is no |
It's not the purpose of this container to try to deal with orchestrator edge cases You could resolve this by using The container here is only concerned with running and stopping when expected |
aha, i see. thanks. |
Hi,
I run these in a
docker compose
way on several repositories. I regularly encounter jobs failing due to;No space left on device : '/actions-runner/_diag/Worker_20230918-091841-utc.log'
When this happens I need to delete the container and start over. After some time it happens again.
I don't understand this because i have EPHEMERAL set to true and I would assume the container is reset.
docker-compose.yaml
Looking at that log file I got the idea that mayby the '/_work/' directory should be mounted to a host directory. I have enough space. Would that solve it? Is that safe to do?
edit: tried to do a bind mount to /_work. that didn't work. permission denied errors for executables.
edit2: I am guessing point three of https://github.com/myoung34/docker-github-actions-runner/wiki/Usage#ephemeral-runners isn't achievable with
docker compose up -d
. Containers are restarted but not deleted when finished.The text was updated successfully, but these errors were encountered: