How to install docker in linux?

Arun I
May 31, 2021
  1. Open linux terminal
  2. Run this command and check for updates “sudo yum -y update”.
  3. To install docker run “sudo yum install -y docker”.

The above command will install the recent docker.

4.To check version of the docker “docker --version”.

How to start docker service?

Run this command “sudo service docker start”.

How to stop docker service?

Run this command “sudo service docker stop”.

--

--