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

Adds Cgroup to HostConfig Object in ContainerCreate #3315

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Khushiyant
Copy link
Contributor

Closes #2340

HostConfig contains a parameter for Cgroup according to ContainerCreate in API Docs

Required following simple change in docker/types/containers.py

+  `HostConfig['Cgroup'] = cgroup`

@Khushiyant Khushiyant force-pushed the cgroup-host-config branch from c13794c to f0faa20 Compare March 1, 2025 18:47
Signed-off-by: Khushiyant <khushiyant2002@gmail.com>

fix: unexpected keyword argument

Signed-off-by: Khushiyant <khushiyant2002@gmail.com>
@Khushiyant Khushiyant force-pushed the cgroup-host-config branch from a98a278 to cf688d2 Compare March 1, 2025 18:56
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.

Add missing cgroup HostConfig field
1 participant