Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to update docker in coreos

Tags:

docker

coreos

I typed docker version into a newly provisioned coreos instant on ec2 and I got this message

Client version: 0.6.3
Go version (client): go1.1.2
Git commit (client): b0a49a3
Server version: 0.6.3
Git commit (server): b0a49a3
Go version (server): go1.1.2
Last stable version: 0.7.3, please update docker

how do I update docker?

like image 277
zcaudate Avatar asked Jan 04 '14 06:01

zcaudate


2 Answers

To update CoreOS manually type in your shell:

update_engine_client -update
like image 95
Igor Barinov Avatar answered Oct 06 '22 03:10

Igor Barinov


CoreOS and the tools it ships are updated automatically as new versions come out.

The CoreOS version on the EC2 marketplace is always a few versions behind, but if you wait a few minutes after booting a machine it should execute an auto-update and then be up to date.

If you want to manually run a new docker binary before it is updated in CoreOS, you can download the binary and run a local docker unit file: https://gist.github.com/philips/7555876

like image 32
Rob Avatar answered Oct 06 '22 04:10

Rob