1. 程式人生 > >docker更新版本

docker更新版本

新增源

sudo add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"

sudo apt-get update

apt-cache madison docker-ce     檢視合適的版本,選擇一個安裝

如:sudo apt-get -y install docker-ce=17.06.0~ce-0~ubuntu --allow-unauthenticated