问题描述
我在ec2上输入了一个新配置的coreos即时通讯( docker version
),我收到了这个消息
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
如何更新docker?
how do I update docker?
推荐答案
CoreOS和工具随着新版本的出现,它将自动更新。
CoreOS and the tools it ships are updated automatically as new versions come out.
EC2市场上的CoreOS版本总是有几个版本,但如果在启动后等待几分钟机器应该执行自动更新,然后更新。
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.
如果要在CoreOS更新之前手动运行一个新的Docker二进制文件,可以下载二进制文件并运行本地docker单元文件:
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
这篇关于如何在coreos中更新docker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!