sudo apt install docker.io
sudo apt-get remove docker docker-engine docker.io
Docker CE on Ubuntu支持overlay2
和aufs
存储驱动
sudo apt-get update
# 设置apt使用HTTPS访问软件仓库
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce
sudo apt-get install docker-ce=<VERSION>
sudo docker run hello-world