devcontainer on an NFS-mounted directory #189
Unanswered
Karl Koscher (supersat)
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to use a devcontainer with a repo checked out into an NFS-mounted directory? I have scoured the Internet for solutions but seemingly no one has brought this up.
The problem I run into is the local docker daemon runs as
root, so when it goes to do a bind mount of the workspace, NFS says "permission denied" becauserootgets remapped tonobodyby default. Enablingno_root_squashis not an option.I suppose this might be possible if everyone sets up their own rootless docker daemon, but this laborious setup process almost defeats the point of devcontainers.
All reactions