testing docker lxc script

This commit is contained in:
2024-04-04 11:48:01 -05:00
parent 934bb3ff2e
commit 76bf9a974a

View File

@@ -18,11 +18,9 @@ if [[ ! -f /etc/apt/keyrings/docker.gpg ]]
systemctl enable containerd.service
systemctl start docker.service
systemctl start containerd.service
cat <<EOF >/etc/docker/daemon.json
{
"storage-driver": "fuse-overlayfs"
}
EOF
echo "{" > /etc/docker/daemon.json
echo " "storage-driver": "fuse-overlayfs"" >> /etc/docker/daemon.json
echo "}" >> /etc/docker/daemon.json
systemctl restart docker.service
curl -s https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash
mv /root/.local/bin/lazydocker /usr/local/bin