-
Notifications
You must be signed in to change notification settings - Fork 83
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
support docker build workflows #41
Comments
I guess it's faster to stop the docker service (if possibile), rename the current /var/lib/docker to something else, run the action, rsync back to the new /var/lib/docker and start docker again |
Tried. it doesn't work. I've tried a tone of ways to change docker data root directory, although it works on local machine, it doesn't work in runs. And start docker and stop docker commands behave weirdly. You should give it a try. Maybe there are other ways. |
Simply restarting the docker service seems to work for me:
|
Have you worked further to check the storage? It seems restarted , but still not saving to the mounted folder. |
If you want to preserve the contents of /var/lib/docker, I've found that the following snippet seems to work:
You shouldn't use |
this workaround works for me but for whatever reason the restore step |
@anoronh4 Yes, that's the reason. |
The first three steps will work for docker build, can you integrate it into the action?
The text was updated successfully, but these errors were encountered: