ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
+ docker-compose -f /home/dev/cal7/vfcore/calypso/docker/build/docker-compose.yaml stop tc-fetch WARNING: The HAI_BASEOS variable is not set. Defaulting to a blank string. 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. [dev@baobab docker]$ docker version Client version: 1.7.1 Client API version: 1.19 Go version (client): go1.4.2 Git commit (client): 786b29d/1.7.1 OS/Arch (client): linux/amd64 Get http:///var/run/docker.sock/v1.19/version: dial unix /var/run/docker.sock: permission denied. Are you trying to connect to a TLS-enabled daemon without TLS? [dev@baobab docker]$ sudo docker version Client version: 1.7.1 Client API version: 1.19 Go version (client): go1.4.2 Git commit (client): 786b29d/1.7.1 OS/Arch (client): linux/amd64 Server version: 1.7.1 Server API version: 1.19 Go version (server): go1.4.2 Git commit (server): 786b29d/1.7.1 OS/Arch (server): linux/amd64
Solution
[dev@baobab docker]$ sudo groupadd docker
(Note: In most case this group will already exists, safely ignore the message)
[dev@baobab docker]$ sudo usermod -aG docker ${USER}
and reboot (Important!)
Thanks for this advice:
and reboot (Important!)