重启命令二:systemctl restart docker
pkill docker
iptables -t nat -F
ifconfig docker0 down
brctl delbr docker0
service docker restart
sudo apt-get remove docker docker-engine docker-ce docker.io
sudo apt-get purge docker
sudo apt-get autoremove docker
sudo rm -rf /var/lib/docker
sudo apt-get install apt-transport-https ca-certificates curl python-software-properties software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo apt-key fingerprint OEBFCD88
cat /etc/debian_version
sudo dedit /etc/apt/sources.list
//添加
[arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/debian stretch stable
sudo apt-cache madison docker-ce
使用一个最新的
sudo apt-get install docker-ce=18.06.3~ce~3-0~debian containerd
docker version
sudo gpasswd -a ${USER} docker
sudo apt-get update