You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
867 B
Markdown
25 lines
867 B
Markdown
6 years ago
|
By default, watchtower will watch all containers. However, sometimes only some containers should be updated.
|
||
|
|
||
|
If you need to exclude some containers, set the _com.centurylinklabs.watchtower.enable_ label to `false`.
|
||
|
|
||
|
```docker
|
||
|
LABEL com.centurylinklabs.watchtower.enable="false"
|
||
|
```
|
||
|
|
||
|
Or, it can be specified as part of the `docker run` command line:
|
||
|
|
||
|
```bash
|
||
|
docker run -d --label=com.centurylinklabs.watchtower.enable=false someimage
|
||
|
```
|
||
|
|
||
|
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"
|
||
|
```
|
||
|
|
||
|
Or, it can be specified as part of the `docker run` command line:
|
||
|
|
||
|
```bash
|
||
|
docker run -d --label=com.centurylinklabs.watchtower.enable=true someimage
|
||
|
```
|