mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
implemented enableLabel by a Filter
This commit is contained in:
parent
f5fb4ed6a2
commit
026a04b59b
6 changed files with 79 additions and 46 deletions
|
@ -129,9 +129,9 @@ docker run -d --label=com.centurylinklabs.watchtower.stop-signal=SIGHUP someimag
|
|||
|
||||
## Selectively Watching Containers
|
||||
|
||||
By default, watchtower will watch all containers.
|
||||
However, sometimes only some containers should be updated.
|
||||
If you need to selectively watch containers, pass the --label-enable flag on startup and set the *com.centurylinklabs.watchtower.enable* label with a value of true for the containers you want to watch.
|
||||
By default, watchtower will watch all containers. However, sometimes only some containers should be updated.
|
||||
|
||||
If you need to only include only some containers, pass the --label-enable flag on startup and set the *com.centurylinklabs.watchtower.enable* label with a value of true for the containers you want to watch.
|
||||
|
||||
```docker
|
||||
LABEL com.centurylinklabs.watchtower.enable="true"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue