Couldn’t connect to Docker daemon at http+docker://localhost – is it running? If it’s at a non-standard location, specify the URL with the DOCKER_HOST environment variable.

SOLUTION
sudo chown $USER /var/run/docker.sock