Docker Daemon Error When Running Docker Compose

docker why

TL;DR Make sure you don’t have any old mounted volumes around if you see the error below.

I just got the following error when trying to run docker-compose up -d

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.

Please note I have a database using a mounted volume. The issue was that the previous mount was still present. Once I deleted that, docker-compose up -d would work jut fine.

If anyone knows a more elegant way to handle this, I’m open to it.

Cheers.

Jason Meridth

jmeridth

My name is Jason Meridth. I am a continuously learning senior software developer/team lead/development manager trying to not let best be the enemy of better. I reserve the right to change my mind upon obtaining more information. I am also the owner and principal software consultant at Meridth, LLC. If you have any software, hardward, networking, process, etc needs please don't hesitate to reach out to me.

Raspberry Pi Kubernetes Cluster - Part 2

Howdy again.Alright, my 8 port switch showed up so I was able to connect my raspberry 3B+ boards to my home network. I plugged it in wit...… Continue reading

Raspberry Pi Kubernetes Cluster - Part 1

Published on April 07, 2018

SSH - Too Many Authentication Failures

Published on March 28, 2018