- Open linux terminal
- Run this command and check for updates “sudo yum -y update”.
- 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”.
