May 22, 2021 Docker From entry to practice
Docker supports CentOS 6 and later versions.
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
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