You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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" because root gets remapped to nobody by default. Enabling no_root_squash is 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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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" becauseroot
gets remapped tonobody
by default. Enablingno_root_squash
is 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.
Beta Was this translation helpful? Give feedback.
All reactions