From c1ef7ad7b06dae06c86dc92930c27f5e9d3d3c1b Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 28 Dec 2022 20:24:52 -0500 Subject: [PATCH] Update homeassistant-install.sh correct daemon.json --- setup/homeassistant-install.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/setup/homeassistant-install.sh b/setup/homeassistant-install.sh index 5e7e83f7..47ac3bba 100644 --- a/setup/homeassistant-install.sh +++ b/setup/homeassistant-install.sh @@ -107,12 +107,10 @@ cd /usr/local/bin curl -sSL -o fuse-overlayfs https://github.com/containers/fuse-overlayfs/releases/download/$VER/fuse-overlayfs-x86_64 chmod 755 /usr/local/bin/fuse-overlayfs cd ~ +echo -e '{\n "storage-driver": "fuse-overlayfs",\n "log-driver": "journald"\n}' > /etc/docker/daemon.json +else +echo -e '{\n "storage-driver": "overlay2",\n "log-driver": "journald"\n}' > /etc/docker/daemon.json fi -cat >$DOCKER_CONFIG_PATH <<'EOF' -{ - "log-driver": "journald" -} -EOF sh <(curl -sSL https://get.docker.com) &>/dev/null msg_ok "Installed Docker $DOCKER_LATEST_VERSION"