Update based on newer instructions.

This commit is contained in:
Hyperling 2023-07-05 18:36:34 -07:00
parent 8c18f90af9
commit 5f2268b1e7

View File

@ -30,7 +30,7 @@ echo "pkgmgr=$pkgmgr"
## Main ## ## Main ##
if [[ "$pkgmgr" == "apt" ]]; then if [[ "$pkgmgr" == "apt" ]]; then
apt purge docker docker-engine docker.io containerd runc apt purge docker docker-engine docker.io containerd runc podman-docker
apt update && apt update &&
apt install -y ca-certificates curl gnupg lsb-release && apt install -y ca-certificates curl gnupg lsb-release &&
@ -40,7 +40,7 @@ if [[ "$pkgmgr" == "apt" ]]; then
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/$repo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/$repo \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null && $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null &&
apt update && apt update &&
apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin && apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin &&
echo "Success!" && echo "Success!" &&
exit 0 exit 0