how to update docker in coreos

梦想与她 提交于 2019-12-04 08:19:25

问题


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?


回答1:


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




回答2:


To update CoreOS manually type in your shell:

update_engine_client -update


来源:https://stackoverflow.com/questions/20917981/how-to-update-docker-in-coreos

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!