Skip to content

Linux Docker issue - "Couldn't connect to Docker daemon at http+docker://localhost" #174

Answered by BethanyG
lpatmo asked this question in Q&A
Discussion options

You must be logged in to vote

Ok - so it smells like a permissions problem. Below are several SO posts, et. al. While they talk about docker.sock, methinks this error might be related:

All of them talk about the perils of running docker-compose with sudo. They also talk about making sure docker has permissions to everywhere it should...and to have env vars set properly. Since I am not on linux, I can't test each specifically, but I'd do a general rundown of permissions and env vars just to make sure they are all as expected.

Replies: 3 comments 3 replies

Comment options

lpatmo
Sep 5, 2020
Maintainer Author

You must be logged in to vote
0 replies
Comment options

lpatmo
Sep 5, 2020
Maintainer Author

You must be logged in to vote
1 reply
@lpatmo
Comment options

lpatmo Sep 5, 2020
Maintainer Author

Comment options

You must be logged in to vote
2 replies
@peoray
Comment options

peoray Sep 5, 2020
Collaborator

@BethanyG
Comment options

Answer selected by BethanyG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants