-
Notifications
You must be signed in to change notification settings - Fork 549
Support host config cpus #959
Comments
@liuqiyuan Thanks for reporting. PRs are welcome :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@liuqiyuan Can someone please merge this request? Why hasn't this been incorporated? |
@davidxia What's not finished with it? Just curious. |
@rwmajor2 If someone can rebase it, answer my question in that PR, and test that it actually works, I'm happy to merge it. |
@davidxia I may be interested in picking this up. The field name in the PR seems incorrect. Should I update the PR or make a new one? |
@laureled Whatever's easier for you :) |
I was able to accomplish this with cpuPeriod and cpuQuota. --cpus doesn't seem to exist in the Docker API. It seems to be a convenience option in the Docker CLI for setting period and quota. I was able to confirm this by creating a container with --cpus and inspecting it. Perhaps someone wants to double-confirm with the Docker source code. I think issues here relating to the --cpus option can be closed. |
Hi @laureled , Since this project went on mature status, please re-open this issue (if it still stands) to https://github.com/dmandalidis/docker-client. Thanks |
Description
Support host config
--cpus=<value>
I know we have workaround, but it will be good to have --cpus.
The text was updated successfully, but these errors were encountered: