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

host system max_user_namespaces is set to 0 #53

Open
klutchell opened this issue Jun 29, 2022 · 0 comments
Open

host system max_user_namespaces is set to 0 #53

klutchell opened this issue Jun 29, 2022 · 0 comments

Comments

@klutchell
Copy link
Contributor

When running this container on Ubuntu derivatives and using cgroups v1 as required, the host max_user_namespaces can get reset to 0 causing various issues on the host.

Linux system76 5.15.11-76051511-generic #202112220937~1640185481~21.04~b3a2c21-Ubuntu SMP Mon Jan 3 16:5 x86_64 x86_64 x86_64 GNU/Linux

Retrieve the current value with

sudo sysctl -a | grep max_user_namespaces

Can be restored with

echo 10000 | sudo tee /proc/sys/user/max_user_namespaces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant