mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-22 05:40:50 +02:00
clarify container selection
This commit is contained in:
parent
ab0723d01d
commit
0462c30bfb
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ Or, it can be specified as part of the `docker run` command line:
|
||||||
docker run -d --label=com.centurylinklabs.watchtower.enable=false someimage
|
docker run -d --label=com.centurylinklabs.watchtower.enable=false someimage
|
||||||
```
|
```
|
||||||
|
|
||||||
If you need to 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.
|
If you need to [include only containers with the enable label](https://containrrr.github.io/watchtower/arguments/#filter_by_enable_label), pass the `--label-enable` flag or the `WATCTOWER_LABEL_ENV` environment variable on startup and set the _com.centurylinklabs.watchtower.enable_ label with a value of `true` for the containers you want to watch.
|
||||||
|
|
||||||
```docker
|
```docker
|
||||||
LABEL com.centurylinklabs.watchtower.enable="true"
|
LABEL com.centurylinklabs.watchtower.enable="true"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue