devcontainers / devcontainers/spec

Need solution for running dev container with rootless Docker

Open
#479 10 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
5.7k
Forks
496
PR merge metrics
No merged PRs in 30d

Description

Writing to the host filesystem fails unless the container is run with root privileges.

**Steps to Reproduce:**

1. Set up rootless Docker environment (dockerd-rootless-setuptool.sh install)
2. Start a development container (docker run ...)
3. 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.