Docker Community Forums

Share and learn in the Docker community.

Build - Couldn't connect to Docker daemon - DOCKER_HOST



I’m new on this website.

First, my environment :
Docker version 18.09.0, build 4d60db4
Ubuntu 16.04
Magento 1.9 CE

Second, I have this error when I make a ‘build’ :

phpmyadmin uses an image, skipping
Building php
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.
Makefile:30 : la recette pour la cible « build » a échouée
make: *** [build] Erreur 1

What I’ve already try :

  • Uninstall docker (forget something to unsinstall…? I d’ont know)
  • Reinstall docker + Create docker group + Add $USER to this group

Please, someone can help me… :disappointed_relieved:
I am completely lost !

Many thanks for your help :blush: