Skip to content

Instantly share code, notes, and snippets.

@fahadsiddiqui
Last active June 7, 2023 06:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fahadsiddiqui/05f10b72e2745e8f58da6a0708e00da8 to your computer and use it in GitHub Desktop.
Save fahadsiddiqui/05f10b72e2745e8f58da6a0708e00da8 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.

@fahadsiddiqui
Copy link
Author

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