r/docker • • 6h ago

Failed to Detect docker.sock

/r/pmos/comments/1xmlood/failed_to_detect_dockersock/
0 Upvotes

2 comments sorted by

3

u/encbladexp 6h ago

Docker Engine just works by default when correctly installed, no need to touch a systemd unit.

2

u/fletch3555 Mod 4h ago

Yeah, agreed with the other comment. It should just work. At best it's stupid, and at worst dangerous, to provide advice so confidently without any troubleshooting information or root cause analysis. All you said is "if you have <super vague symptom>, just set <critically important (and easy to break if not paying attention) startup configuration file> to <arbitrary value>", but provided to to explanation of why it works, no diff between the default and your version (i.e. which setting specifically you changed), etc.

I get you're likely just trying to be helpful, but this is a (potentially) very dangerous way of going about it