Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

CentOS installs Docker


May 22, 2021 Docker From entry to practice


Table of contents


The CentOS series installs Docker

Docker supports CentOS 6 and later versions.

CentOS6

For CentOS6, docker can be installed using the EPEL library, with the following commands

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

CentOS7

Docker is already in CentOS-Extras for CentOS7 systems and can be installed directly:

$ sudo yum install docker

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

$ sudo service docker start
$ sudo chkconfig docker on