turn off autostart, incompatible with docker swarm.

This commit is contained in:
cyteen 2020-05-02 12:34:33 +01:00
parent 53d6d2fb95
commit 0b33ba666a
1 changed files with 3 additions and 1 deletions

View File

@ -93,9 +93,11 @@ TLS_HOME=/var/docker
## https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file ## https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file
## See /var/tmp/automate/docker_daemon-writer.sh for complete jq example. ## See /var/tmp/automate/docker_daemon-writer.sh for complete jq example.
# NB live-restore is incompatible with swarm mode.
declare -A DOCKER_OPT declare -A DOCKER_OPT
DOCKER_OPT[0]='.["dns"] = ["69.164.196.21","94.247.43.254"]' DOCKER_OPT[0]='.["dns"] = ["69.164.196.21","94.247.43.254"]'
DOCKER_OPT[1]='.["live-restore"] = true' DOCKER_OPT[1]='.["live-restore"] = false'
DOCKER_OPT[2]='.["storage-driver"] = "zfs"' DOCKER_OPT[2]='.["storage-driver"] = "zfs"'
DOCKER_OPT[3]='.["storage-opts"] = ["zfs.fsname=rpool/docker"]' DOCKER_OPT[3]='.["storage-opts"] = ["zfs.fsname=rpool/docker"]'
DOCKER_OPT[4]='.["ipv6"] = false' DOCKER_OPT[4]='.["ipv6"] = false'