From 3b541d4e0c2b97a35e55aec7482f9115ecfd89bc Mon Sep 17 00:00:00 2001 From: James Swineson Date: Sun, 8 May 2022 11:37:38 +0800 Subject: [PATCH] add `--restart=always` for example watchtower deployment --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d50938..b01cb95 100644 --- a/README.md +++ b/README.md @@ -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`.