我现在在CentOS 6.5上进行部署,并且现在开始使用docker。
因此,我按照以下指示进行操作:https://docs.docker.com/engine/installation/centos/
无论我采用哪种安装方法,都将获得1.7.1的版本。
[root@VM_72_235_centos ~]# docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d/1.7.1
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d/1.7.1
OS/Arch (server): linux/amd64
但是现在我在文档中运行命令:
docker network ls
失败
docker: 'network' is not a docker command.
。最后,我知道1.9中首次引入了网络操作。
那么有什么方法可以在centos6中安装docker 1.9?
最佳答案
不再支持CentOS 6和RHEL 6,它们的最新构建是docker 1.7.1。
该文档的页面(https://docs.docker.com/engine/installation/centos/)也提到了这一点;
这些发行版运行的内核(2.6.x)已有13年的历史了,尽管Red Hat向其移植了更新的功能,但它们缺少Docker所需的某些选项,并被证明是不稳定的,并且不适合生产。
如果您想(继续)使用Docker,建议您升级到CentOS7.x。
关于linux - 如何在CentOS 6.5中安装Docker 1.9+?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/34872129/