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

add support for cgroupns #338

Closed
christf opened this issue Apr 17, 2022 · 3 comments · Fixed by #427
Closed

add support for cgroupns #338

christf opened this issue Apr 17, 2022 · 3 comments · Fixed by #427
Labels
docker-plain plain Docker (no swarm, no compose, no stack) enhancement New feature or request waiting on Docker SDK for Python support

Comments

@christf
Copy link

christf commented Apr 17, 2022

SUMMARY

Some containers ONLYOFFICE/Docker-CommunityServer#131 - apparently those that run systemd - will require --cgroupns=host to be set.
This is currently not possible with the docker role. Please consider adding the fature

ISSUE TYPE
  • Feature Idea
COMPONENT NAME
ADDITIONAL INFORMATION

being able to set

cgroupns: host 

woulrd be very useful to run this kind of container.

@felixfontein felixfontein added enhancement New feature or request docker-plain plain Docker (no swarm, no compose, no stack) labels Apr 18, 2022
@felixfontein
Copy link
Collaborator

--cgroupns corresponds to the CgroupnsMode host config (judging from the docker-cli sources), but Docker SDK for Python does not (yet) support that.

(And judging the state of the Docker SDK for Python project, I wouldn't hope that it will support it anytime soon... :( )

@felixfontein
Copy link
Collaborator

(Also there is no role in this collection. We only have modules and plugins.)

@felixfontein
Copy link
Collaborator

I created an implementation of this in #427 (based on the rewrite #422 of docker_container to use the API directly).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker-plain plain Docker (no swarm, no compose, no stack) enhancement New feature or request waiting on Docker SDK for Python support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants