Docker 升级最新版本

Docker

1、停止 Docker 服务

systemctl stop docker 

2、获取最新的版本 https://get.docker.com/builds/

这个链接始终可以获取到最新版本的信息目前是 17.03

# To install, run the following commands as root:
curl -fsSLO https://get.docker.com/builds/Linux/x86_64/docker-17.03.0-ce.tgz && tar --strip-components=1 -xvzf docker-17.03.0-ce.tgz -C /usr/local/bin

# Then start docker in daemon mode:
/usr/local/bin/dockerd

3、运行命令以开启 docker 服务

systemctl start docker 
评论数量: 0

0
点赞
513
浏览
0
评论
贡献者

贡献 9
dividez
All things in their being are good for something.