Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation surrounding docker-in-docker. #363

Open
peter-mcclonski opened this issue Apr 26, 2024 · 0 comments
Open

Add documentation surrounding docker-in-docker. #363

peter-mcclonski opened this issue Apr 26, 2024 · 0 comments

Comments

@peter-mcclonski
Copy link

For users not intimately familiar with how Rancher Desktop functions, it can be confusing to set up docker-in-docker when Rancher Desktop is not running in admin mode. Most existing references on the wider internet recommend volume-mounting the docker socket from the host system into the DinD container. To a naive user running Rancher Desktop without admin rights, this would imply mounting $HOME/.rd/docker.sock (host) to /var/run/docker.sock (container). Unfortunately, this approach is wrong-- Users must understand the architecture of Rancher Desktop to understand that they must volume mount /var/run/docker.sock, which to them would naively appear to be a nonexistent file.

I propose addition of a Docker In Docker how-to page, or at minimum, a note on an existing page, explaining how to mount the host socket, and a very high level explanation of the 'why' behind it. This would improve approachability for non-experts seeking to use DinD workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant