Update docker-install.sh

adjust daemon.json
This commit is contained in:
tteckster 2022-12-29 15:36:12 -05:00 committed by GitHub
parent 36b596dc97
commit d4248dbe84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ chmod 755 /usr/local/bin/fuse-overlayfs
cd ~ cd ~
echo -e '{\n "storage-driver": "fuse-overlayfs",\n "log-driver": "journald"\n}' > /etc/docker/daemon.json echo -e '{\n "storage-driver": "fuse-overlayfs",\n "log-driver": "journald"\n}' > /etc/docker/daemon.json
else else
echo -e '{\n "storage-driver": "overlay2",\n "log-driver": "journald"\n}' > /etc/docker/daemon.json echo -e '{\n "log-driver": "journald"\n}' > /etc/docker/daemon.json
fi fi
sh <(curl -sSL https://get.docker.com) &>/dev/null sh <(curl -sSL https://get.docker.com) &>/dev/null
msg_ok "Installed Docker $DOCKER_LATEST_VERSION" msg_ok "Installed Docker $DOCKER_LATEST_VERSION"