docker engine is running but client doesnt Cannot connect to the Docker daemon at unix:///var/run/docker.sock code example
Example: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
sudo dockerd
sudo dockerd