1.删除docker
sudo apt-get purge docker.io
sudo rm -rf /etc/docker/
sudo apt-get autoremove
2. 安装docker
sudo apt-get update
sudo apt-get upgrade
curl -sSL https://get.docker.com/ | sh
2024-02-18 18:22:10
1.删除docker
sudo apt-get purge docker.io
sudo rm -rf /etc/docker/
sudo apt-get autoremove
2. 安装docker
sudo apt-get update
sudo apt-get upgrade
curl -sSL https://get.docker.com/ | sh