After writing article How to install Docker on Linux I tested it with command docker version, everything was good but no docker engine related information was there and on the last line I saw error Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?, with this error It was not allow run or execute any docker container.
By reading the error and to diagnos the issue, I checked docker service with below command, the Active status was showing inactive (dead).
sudo systemctl status docker
I started the docker service, and enabled it so after reboot service will autostart. Checked the status of service it was active and running.
sudo systemctl start docker sudo systemctl enable docker sudo systemctl status docker
I rechecked docker version again this time everything was good and Docker Engine related information was on the screen. In next article I will show how to use proxy server on docker.
USEFUL ARTICLES
How to install Docker on Linux
How to install Ansible on Linux for vSphere configuration
PART 1 : BUILDING AND BUYING GUIDE IDEAS FOR VMWARE LAB
PART 2 : BUILDING AND HARDWARE BUYING GUIDE IDEAS FOR VMWARE LAB
PART 3 : MY VSPHERE LAB CONFIGURATION ON VMWARE WORKSTATION