Need solution for running dev container with rootless Docker
jcr010910 opened this issue · 1 comments
jcr010910 commented
Writing to the host filesystem fails unless the container is run with root privileges.
Steps to Reproduce:
- Set up rootless Docker environment (dockerd-rootless-setuptool.sh install)
- Start a development container (docker run ...)
- Attempt to write files from the container to the host filesystem (echo "test" > /host/path/file.txt)
Expected Behavior:
Files should be written successfully to the host filesystem without needing to run the container as root.
thaJeztah commented
Closing, as off-topic for this issue tracker, and because this GitHub issue tracker is not intended as a general support, consider using one of;
- the Discussione on the Moby repository
- the Docker community Slack channel
- the
docker
tags on StackOverflow - the Docker Support Forums - https://forums.docker.com
I'm closing this ticket because of the above, but feel free to continue the conversation 👍