Skip to content

Commit

Permalink
dont restart if admin stopped the HinD container
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Jan 10, 2024
1 parent 3a0a58a commit 29d0cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 29d0cc6

Please sign in to comment.