Link Search Menu Expand Document

Docker Compose Cheat Sheet

Setup Troubleshooting

Couldn’t connect to Docker daemon at http+docker://localhost - is it running?

Ensure systemd unit is configured correctly and has TCP socket configured. If not edit with sudo systemctl edit docker.service and provide

ExecStart=/usr/bin/dockerd -H fd:// -H tcp://

Also set env var DOCKER_HOST