Install Docker on CentOS in the Docker tutorial

  • 2020-05-30 21:42:48
  • OfStack

The CentOS series installs Docker

Docker supports CentOS6 and later.


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

$ sudo yum install
$ sudo yum install docker-io


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!

Related articles: