Any ideas on how to correct this? Docker is up an running and I am trying to access the container from the local machine.
/usr/bin/docker-compose up
ERROR: 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.
This is the containers docker-compose file.
- Code: Select all
version: "2"
services:
gnucash:
image: alcol/gnucash
container_name: gnucash
volumes:
- "./data/:/data"
- "./config/:/home/local/.local/share/gnucash"
- "/tmp/.X11-unix:/tmp/.X11-unix"
- /etc/machine-id:/etc/machine-id
- /var/lib/dbus/machine-id:/var/lib/dbus/machine-id
environment:
- DISPLAY=unix$DISPLAY