Skip to content

Is it possible to support docker registry mirrors #1102

@steve3d

Description

@steve3d

Is your feature request related to a problem? Please describe.

This is not a problem nor a bug.

Describe the solution you'd like

I'm a Chinese user, as you may already know, our country banned hub.docker.com, so If I directly run docker, the nothing could be pulled, this also applys to watchtower.

But there is a simple solution to docker, which is the registry mirrors. after set these in /etc/docker/daemon.json, docker can pull and works.

but seems watchtower, your fork and the original version don't support the registry mirrors. So I have to manullay create a proxy and set HTTPS_PROXY and 'HTTP_PROXYto the container orcompose.yaml`.

So, I'm wondering if watchtower can support quering images when docker daemon set to use registry mirrors?

Describe alternatives you've considered

Using the http proxy, but this requires a lot, and sometime I can not setup a proxy server for this.

Additional context

No response

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

Status

Feature Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions