summaryrefslogtreecommitdiff
path: root/infra/host-retire-docker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'infra/host-retire-docker.sh')
-rw-r--r--infra/host-retire-docker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/host-retire-docker.sh b/infra/host-retire-docker.sh
index 08923b7..d9d56f8 100644
--- a/infra/host-retire-docker.sh
+++ b/infra/host-retire-docker.sh
@@ -21,7 +21,7 @@ for host in doan.luuduct.ai git.doan.luuduct.ai search.doan.luuduct.ai; do
curl --fail --silent --resolve "$host:443:127.0.0.1" "https://$host/" >/dev/null
done
systemctl disable --now docker.service docker.socket containerd.service
-apt-get purge -y docker-ce docker-ce-cli docker-buildx-plugin docker-compose-plugin containerd.io
+apt-get install -y runc docker-ce- docker-ce-cli- docker-buildx-plugin- docker-compose-plugin- containerd.io-
for old in /var/lib/docker /var/lib/containerd /etc/docker /etc/containerd; do
if [ -d "$old" ] && [ ! -L "$old" ]; then find "$old" -depth -delete; fi
done