Connect to private registry using the windows bin #1018
-
I'm trying to run watchtower bin built for windows as a service to update the running container, the container is built using an image on a private repository.
I couldn't argument to pass the private registry authentication credentials when I used .\watchtower.exe -h I'm using the watchtower_windows_amd64.zip v1.3.0 Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Watchtower, by default, looks for for the credentials in "/config.json", which should map to "C:\config.json" on windows. |
Beta Was this translation helpful? Give feedback.
Watchtower, by default, looks for for the credentials in "/config.json", which should map to "C:\config.json" on windows.
You can modify this by setting the environment variable
DOCKER_CONFIG
to the directory where youtconfig.json
is stored. In Docker for Desktop, this is normally%USERPROFILE%\.docker
.