-
Notifications
You must be signed in to change notification settings - Fork 27
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
unshare --map-root-user #26
Comments
Might be late but I encountered the same problem when I found this Cargo today to implement my containered network-less builder. You need to call A simple program to showcase how you should do to imitate the
|
Hi,
Thanks for this amazing library. I need to execute a binary using unshare. I am able to execute it in my shell using:
unshare --map-root-user --net -- /path/to/binary
just fine.I have this so far but I get errors:
And this gives me:
I also tried this:
And this gives me:
Unable to spawn executor error setting uid/gid mappings: Permission denied (os error 13)
.Just not sure what I am missing. Any help would be appreciated.
Best,
Shriphani
The text was updated successfully, but these errors were encountered: