-
Notifications
You must be signed in to change notification settings - Fork 912
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
Add support for the registry-mirror docker option #1346
Comments
Hi there! 👋🏼 As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! 🙏 |
+1 |
1 similar comment
+1 |
Does watchtower pull the images on it's own, not through docker? We also require this option, and it is configured and works just fine when using the docker cli directly on host we run watchtower on, but when the watchtower container tries to update it claims
even tough i can see in the docker mirror logs that a HEAD request was issued and a response was sent? |
AFAIK watchtower doesn't pull images, but checks the registry for new images directly over the registry api. |
+1 |
1 similar comment
+1 |
Any updates? |
Is your feature request related to a problem? Please describe.
Our docker daemons run with the
registry-mirror=<internal-docker-proxy>
setting set, as our systems cannot access the internet directly. We have configured sonatype nexus as a pass through cache for this. But we have not been able to enable this option for watchtower, resulting in watchtower trying to connect directly to external registries and failing.Describe the solution you'd like
Support the
registry-mirror
setting in config.json (we have mounted/etc/docker/daemon.json
to/config.json
)or provide an option
WATCHTOWER_DOCKER_REGISTRY_MIRROR=...
to watchtower.The text was updated successfully, but these errors were encountered: