I am very new to the docker when try to run docker info it gives me following error.
$ docker info FATA[0000] Get http:///var/run/docker.sock/v1.17/info: dia
This is because the docker service is not automatically started after an install.
You can start the docker service in Ubuntu and its derivatives (looking at you Linux Mint) by typing:
docker
sudo service docker start
To check that docker started, this file should exist:
ls -la /var/run/docker.sock