-
Notifications
You must be signed in to change notification settings - Fork 108
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 the --cgroupns arg #400
Add support for the --cgroupns arg #400
Conversation
Thanks a lot for the new feature! If it's possible to make a small test that would be the best. If the option can be seen with just a docker inspect on the container, that'd be great :) |
Good to be back with a contribution to one of my favourite open source projects! I've added the |
You don't need the optional. This is because a decorator already put Optional around all types of the model automatically to ensure backward compatibility :) |
Oh ok! Confirmed this works:
|
The linux tests seem to be failing running |
Yes, I think something was upgraded automatically in the ci. I'll take a look at it this weekend and I'll fix it. Sorry for the delay! |
The CI passed on my other PR - are you able to retrigger it on this PR? |
This is a very strange error, I'm quite confused |
Head branch was pushed to by a user without write access
I think the CI issue might've been caused by the test I added (container sleeps forever but is started attached!), hopefully I've fixed it now! |
Nice! Thanks a lot! I think I'll make a new release once #407 has been fixed |
See https://docs.docker.com/engine/reference/commandline/create/#options.
This arg was added in docker/cli#2024, v20.10.0 (link), and is also supported by podman.
I've tested this works manually, unsure if you think automated testing should somehow be added too?