Install Docker on CentOS in the Docker tutorial


The CentOS series installs Docker

Docker supports CentOS6 and later.

CentOS6

For CentOS6, you can install Docker using the EPEL library, as follows

$ sudo yum install http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm
$ sudo yum install docker-io

CentOS7

CentOS7 system CentOS-Extras library has been equipped with Docker, which can be installed directly:

$ sudo yum install docker

After installation, start the Docker service and let it load automatically with system startup.

$ sudo service docker start
$ sudo chkconfig docker on

Thank you for reading, I hope to help you, thank you for your support of this site!