Over my ubuntu GNU/Linux machine I try to build the images from my project
docker-compose build --no-cache --force-rm
And I get the following error:
ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
But when I try wiuth sudo I can build them:
sudo docker-compose build --no-cache --force-rm
But I find it somewhat mysterious because I can launch them without the need of sudo:
docker-compose up