binbashar / le-ref-architecture-doc

Binbash Leverage Reference Architecture documentation
https://leverage.binbash.co
MIT License
42 stars 20 forks source link

doc: Add troubleshooting note about rootless Docker #209

Closed rynkowsg closed 8 months ago

rynkowsg commented 8 months ago

What?

In Linux environment it is recommended to install Docker in rootless mode. docker-py looks by default Docker at unix:///var/run/docker.sock unless DOCKER_HOME environment is specified. While, the Docker installation notes for Rootless mode clearly advise to set it, if overlooked, it leads to problem connecting to Docker:

[10:40:04.464] ERROR    Docker daemon doesn't seem to be responding. Please check it is up and running correctly before re-running the command.

Why?

References

diego-ojeda-binbash commented 8 months ago

Published here: https://leverage.binbash.co/user-guide/troubleshooting/general/#linux-and-docker-in-rootless-mode @rynkowsg Thanks again!

rynkowsg commented 8 months ago

No problem! I encountered this issue while getting though 'getting started' so thought it might be useful for others :+1:

exequielrafaela commented 8 months ago

Thanks for your contribution @rynkowsg! We really appreciate it :)