1.移除本地 docker sudo apt-get remove docker docker-engine docker-ce docker.io
2.执行更新:sudo apt-get update
3.安装docker sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
4.curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
5.备注:获取docker 版本:wget -qO- https://get.docker.com/ | sh
6.sudo apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
7.sudo apt-get update
8.sudo apt-get install -y docker-ce
9.启动docker systemctl status docker