-
Describe the bug
To Reproduce
Expected behavior Environment
because watchtower simply won't run, here's running
docker logs watchtower :
Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
This comment has been hidden.
This comment has been hidden.
-
The Either start the
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the explanation! I was trying to exclude certain docker containers from being updated by watchtower, in this example, ngnix. What's the correct way to achieve that? Thank you. |
Beta Was this translation helpful? Give feedback.
-
Oh I see it now. The label I'll give it a try, thanks a lot for the help. Case closed. |
Beta Was this translation helpful? Give feedback.
The
--label
argument is for the docker CLI, but the--label-enable
is for watchtower itself. Since they are both passed after the container name, they will be passed to the exuctable inside the container (watchtower
).But even if you moved the
--label=
argument to beforecontinrrr/watchtower
, it probably won't do what you expect, as that label needs to be put on the containers that you want to be automatically updated, on THEIRdocker run
commands.You are also specifying
nginx
as an argument, which would only target the container with the namenginx
. Perhaps you can explain what you are trying to achieve?Either start the
nginx
container with the label set to false (--label=com.centuryli…