From 51667bbf9af59b10d716e6767fc3555d61d65501 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 28 Dec 2022 11:46:44 -0500 Subject: [PATCH] Update docker-install.sh fix daemon.json --- setup/docker-install.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/setup/docker-install.sh b/setup/docker-install.sh index a41bbc79..19b6c1ff 100644 --- a/setup/docker-install.sh +++ b/setup/docker-install.sh @@ -102,14 +102,11 @@ VER=$(curl -s https://api.github.com/repos/containers/fuse-overlayfs/releases/la 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 -echo -e '{\n "storage-driver": "fuse-overlayfs"\n}' > /etc/docker/daemon.json 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"