Cannot connect to the Docker daemon

In rare circumstances Docker may not start automatically:

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?

To resolve this issue, simply start Docker (assuming it’s setup!)

su - root
herd start dockerd