Will see how to fix Failed to start docker.service: Unit not found / Installation of docker in RHEL7.x / CentOS 7.x.
Docker is open source and it will help us to deploy applications over the Linux containers.
Docker CLI command line tool will help to manage the lifecycle management of image based containers.
Linux container will enable fast application deployment, simplest testing, troubleshooting and maintenance.
Check for the installed docker details and remove the docker which is already installed.
Again install docker using below command:
#curl -fsSL https://get.docker.com/ | sh
Enable the docker service permanently in this runlevel
Start the docker service
Now docker has been installed started successfully.
To check docker installed correctly or not issue the below command