When docker engine commands are not working
If you having issue with error like below-:
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
There is a solution for the above issue.
Step -: Add your user to docker group
$ sudo usermod -aG docker $USER
$ sudo usermod -aG docker USERNAME
Now your docker engine command will work.
$ docker images