fix docker run command

This commit is contained in:
Daniel Hansson 2019-06-07 01:46:17 +02:00 committed by GitHub
parent 71b9e46511
commit 877f2c09b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,7 +193,7 @@ if ! does_this_docker_exist containrrr/watchtower
then
if [ "$(docker ps -a >/dev/null 2>&1 && echo yes || echo no)" == "yes" ]
then
docker run -d --restart=unless-stopped --name watchtower -v /var/run/docker.sock:/var/run/docker.soc$
docker run -d --restart=unless-stopped --name watchtower -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --cleanup --interval 3600
fi
fi