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

Added support for cgroup parent #716

Closed
wants to merge 1 commit into from
Closed

Conversation

mohitsoni
Copy link
Contributor

This change adds cgroup-parent support to docker-py, which will allow us to add cgroup-parent support inside compose.

@aanand
Copy link
Contributor

aanand commented Aug 17, 2015

LGTM

@@ -737,7 +738,7 @@ def start(self, container, binds=None, port_bindings=None, lxc_conf=None,
dns=None, dns_search=None, volumes_from=None, network_mode=None,
restart_policy=None, cap_add=None, cap_drop=None, devices=None,
extra_hosts=None, read_only=None, pid_mode=None, ipc_mode=None,
security_opt=None, ulimits=None):
security_opt=None, ulimits=None, cgroup_parent=None):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd argue against adding this - we've deprecated passing host config arguments in start, and will probably remove it entirely in a future version.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shin- Good to know. Can you please tell how cgroup_parent and other host config arguments be passed ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gladly! You can see the documentation on that topic.

@shin-
Copy link
Contributor

shin- commented Aug 24, 2015

Applied a few fixes and merged manually. Thanks!

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 this pull request may close these issues.

3 participants