`wasp start db` issue --> docker: Cannot connect to the Docker daemon...

If you're getting the error docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?. when trying to run wasp start db, make sure you have Docker installed and its running. On Mac OS, just find the Docker app in your launchpad and click it. You should see a Docker icon in your top right menu bar. If so, you're good to go!
3 Replies
miho
miho•2y ago
@martinsos we could actually check if docker is running with docker info, a good future improvement
martinsos
martinsos•2y ago
Ok yeah we could! But I thought that "is the docker daemon running" in the message is good enough, I mean it is pretty clear isn't it? well crap, I see now that a user also reported it, ok ok it is obviously not straightforward 😄 Ok so we should improve the messaging here, yup. As @miho said, we can detect it and print our own message with a bit of instructions
martinsos
martinsos•2y ago
GitHub
Have wasp start db produce nice warning message if docker daemon ...
This is what it currently looks like: ✨ Starting a PostgreSQL dev database (based on your Wasp config) ✨ Additional info: ℹ Connection URL, in case you might want to connect with external tools: po...
Want results from more Discord servers?
Add your server