How to install docker 1.9+ in CentOS 6.5?

Now I'm deploying to CentOS 6.5, and now I'm starting to use docker.

So, I follow the instructions: https://docs.docker.com/engine/installation/centos/

No matter which method I use to install, I get version 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 

But now I run the command in the documentation:

 docker network ls 

Docker docker: 'network' is not a docker command. .

And I finally know that network action was first introduced in version 1.9.

So, is there a way to install docker 1.9 in centos6?

+6
source share
1 answer

CentOS 6 and RHEL 6 are no longer supported, and the latest build for them is docker 1.7.1.

This documentation page ( https://docs.docker.com/engine/installation/centos/ ) also mentions;

The docker runs on CentOS 7.X Docker requires a 64-bit installation, regardless of your version of CentOS. In addition, your kernel should be at least 3.10, which runs CentOS 7.

The kernel that runs this distribution (2.6.x) is older than 13 years old, and although the new features are returned to them by Red Hat, they lack certain parameters that Docker requires and have proven to be unstable and unsuitable for production.

I recommend that you upgrade to CentOS 7.x if you want to (save) using Docker.

+19
source

All Articles