mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-13 21:56:38 +01:00
also keep the original markdown docs :P~
This commit is contained in:
parent
d1f7c11f20
commit
ac05caa609
11 changed files with 448 additions and 2 deletions
25
docs/container-selection.md
Normal file
25
docs/container-selection.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue