Install Docker Engine

To install docker engine on your Linux operating system we do refer to the docker documentation website. (Refer Link, Install Docker Engine on CentOS | Docker Documentation).

  1. Install the latest version of Docker Engine, containerd using below mentioned command.

›_ Console

# yum install docker-ce docker-ce-cli containerd.io 
  1. After installation of the docker engine, you can check whether the docker engine is running and set up correctly by starting a hello-world container.

›_ Console

# docker run --rm hello-world && docker image rm hello-world 
image-3285254411-1.jpg

Running Docker command output

If you are running the above and it results in an error, please verify that either you are running the commands as root or your account is a member of the docker group.