From 29d0cc689beb4941a80a9ae062e476dd59e472be Mon Sep 17 00:00:00 2001 From: Tracey Jaquith Date: Tue, 9 Jan 2024 17:57:43 -0800 Subject: [PATCH] dont restart if admin stopped the HinD container --- bin/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/entrypoint.sh b/bin/entrypoint.sh index e0f84bd..500389e 100755 --- a/bin/entrypoint.sh +++ b/bin/entrypoint.sh @@ -18,7 +18,7 @@ if [ ! -e $CONFIG ]; then else ARGS+=(--net=host) fi - docker run $ARGS --privileged -v /var/run/docker.sock:/var/run/docker.sock --restart=always --name hindup -v /pv/CERTS:/root/.local/share/caddy -d hind > /dev/null + docker run $ARGS --privileged -v /var/run/docker.sock:/var/run/docker.sock --restart=unless-stopped --name hindup -v /pv/CERTS:/root/.local/share/caddy -d hind > /dev/null if [ ! $FIRST ]; then