簡體   English   中英

如何在CentOS 6.5中安裝docker 1.9+?

[英]How to install docker 1.9+ in CentOS 6.5?

我現在在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/ )也提到了;

Docker在CentOS 7.X上運行Docker需要64位安裝,無論您的CentOS版本如何。 此外,您的內核必須至少為3.10,CentOS 7運行。

這些發行版運行的內核(2.6.x)已經超過13年了,雖然Red Hat將更新的功能反向移植到它們,但它們缺少Docker所需的某些選項,並且已被證明是不穩定的,不適合生產。

如果你想(保持)使用Docker,我建議你升級到CentOS 7.x。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM