upgrade docker to 1.6 升级docker 1.6

title: upgrade docker to 1.6
date: 2015-04-28 16:47:59 +0800
comments: true
category: docker
tags: docker

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

你可能感兴趣的:(upgrade docker to 1.6 升级docker 1.6)