赞
踩
sudo systemctl stop docker
sudo apt-get purge docker-ce
或
sudo apt-get remove docker docker-ce docker-io
sudo apt update
sudo apt upgrade
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"
apt-cache madison docker-ce
sudo apt install docker-ce=5:19.03.1~3-0~ubuntu-xenial
systemctl start docker
sudo systemctl start docker
sudo systemctl enable docker
sudo docker info
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。