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

docker run flag for overriding daemon default-cgroupns-mode #1988

Closed
AkihiroSuda opened this issue Jul 9, 2019 · 2 comments · Fixed by #2024
Closed

docker run flag for overriding daemon default-cgroupns-mode #1988

AkihiroSuda opened this issue Jul 9, 2019 · 2 comments · Fixed by #2024

Comments

@AkihiroSuda
Copy link
Collaborator

The daemon now supports --default-cgroupns-mode=(host|private): moby/moby#38377

Some candidates for docker run flag name:

  • --cgroupns-mode=(host|private): consistent with dockerd --default-cgroupns-mode=(host|private))
  • --cgroupns=(host|private) : consistent with docker run --userns=(host|"")
  • --cgroup=(host|private): consistent with docker run --uts=(host|"")

@thaJeztah @rgulewich

@thaJeztah
Copy link
Member

Wondering if --cgroup may be confusing (it's not really clear that it sets the namespace for cgroups). One more option could be --cgroup-mode=(host|private) (without ns)

@tiborvass @silvin-lubecki wdyt?

@rgulewich
Copy link
Contributor

rgulewich commented Jul 30, 2019

@AkihiroSuda / @thaJeztah / @tiborvass @silvin-lubecki - took a quick swing at --cgroupns here: #2024

Please give it a look!

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

Successfully merging a pull request may close this issue.

3 participants