CentOS install Docker


 

Preface: In fact, the installation steps of Docker official website is very detailed, if some people are not good at looking at English slower, you can directly look at me, I am also from the official website, the specific steps are as follows

1. Install dependency packages

$ sudo yum install -y yum-utils \
  device-mapper-persistent-data \
  lvm2

 

2. Install the yum Library

$ sudo yum-config-manager \
    --add-repo \
    https://download.docker.com/linux/centos/docker-ce.repo

 

3.Install the latest version of Docker

$ sudo yum install docker-ce

 

4. Start Docker

$ sudo systemctl start docker

 

5. Verification

$ docker version

 

The installation process is very fast. It can be done in 5 minutes. Go ahead and try it.

Leave a Reply

Your email address will not be published. Required fields are marked *