mirror of
https://github.com/minoplhy/docker-ripe-atlas.git
synced 2025-04-21 20:36:58 +00:00
add --restart=always
for example watchtower deployment
This commit is contained in:
parent
67a986a64e
commit
3b541d4e0c
@ -69,7 +69,7 @@ Note this might break your network and your mileage may vary. You should swap `e
|
||||
Use this recipe for auto updating the docker container.
|
||||
|
||||
```shell
|
||||
docker run -d -v /var/run/docker.sock:/var/run/docker.sock --name watchtower containrrr/watchtower --cleanup --label-enable
|
||||
docker run --detach --restart=always -v /var/run/docker.sock:/var/run/docker.sock --name watchtower containrrr/watchtower --cleanup --label-enable
|
||||
```
|
||||
|
||||
Then start the RIPE Atlas container with argument `--label=com.centurylinklabs.watchtower.enable=true`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user