0%

centos7下docker升级到1.6

get latest docker

wget https://get.docker.io/builds/Linux/x86_64/docker-latest 

stop serivce and backup old

service docker stop 

mv /usr/bin/docker /usr/bin/docker.20150428

set new version

cp docker-latest /usr/bin/docker 
chmod a+x /usr/bin/docker

start new

service docker start 

root@pts/0 # docker version 
Client version: 1.6.0
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 4749651
OS/Arch (client): linux/amd64
Server version: 1.6.0
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 4749651
OS/Arch (server): linux/amd64

公众号: DailyJobOps DailyJobOps