环境:
Ubuntu 20.04
dpkg -l | grep -i docker
sudo apt-get purge -y docker docker.io docker-ce
sudo apt-get autoremove -y --purge docker docker.io
sudo rm -rf /var/lib/docker /etc/docker
sudo rm -rf /var/lib/containerd/
sudo rm /etc/apparmor.d/docker
sudo groupdel docker
sudo rm -rf /var/run/docker.sock
sudo rm -rf /usr/local/bin/docker-compose
sudo rm -rf /etc/docker
sudo rm -rf ~/.docker
评论 (0)