Skip to content
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

can nsenter rootless network namespace without root? #222

Closed
springzfx opened this issue Jul 27, 2020 · 2 comments
Closed

can nsenter rootless network namespace without root? #222

springzfx opened this issue Jul 27, 2020 · 2 comments
Labels
question Further information is requested

Comments

@springzfx
Copy link

springzfx commented Jul 27, 2020

nsenter require root to enter a namespace, even through the target namespace is a rootless network namespace.
The readme do not indicate this issue. Is there way to bypass this?

@AkihiroSuda
Copy link
Member

nsenter -U

@AkihiroSuda AkihiroSuda added the question Further information is requested label Jul 28, 2020
@AkihiroSuda
Copy link
Member

with --preserve-credentials, maybe
https://man7.org/linux/man-pages/man1/nsenter.1.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants