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
Allow/document prioritizing offline images in services #23909
Comments
Sounds more than good to me 👼 |
Resolving digests, and pinning services to that digest was implemented in #28173 Now, if an image with the resolved digest is already present locally, no pull is performed;
@tonistiigi should we close this issue, or do you want to document |
@thaJeztah This itself doesn't help for tests. It could only work if we add a digest based busybox to frozen images(can't be done with |
I had no idea this existed. Using an environment variable is a terrible way to set this. If it is going to exist can we have it in a config file please. But it seems something that should not be in the global (especially per daemon) config, but a property of the service. |
#23790 added support for this as an environment variable
DOCKER_SERVICE_PREFER_OFFLINE_IMAGE
to support our integration tests.We should figure out if we want to:
I'd prefer not to rush this for 1.12 timeframe.
@vdemeester
The text was updated successfully, but these errors were encountered: