Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save IamFaizanKhalid/c42ff15177b671e854cfcdc4d68996e2 to your computer and use it in GitHub Desktop.
Save IamFaizanKhalid/c42ff15177b671e854cfcdc4d68996e2 to your computer and use it in GitHub Desktop.

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.

Solution

sudo usermod -a -G docker $USER
sudo systemctl enable docker # Auto-start on boot
sudo systemctl start docker # Start right now

And then, restart your computer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment