1
0
mirror of https://github.com/docker/cli.git synced 2025-07-30 17:03:07 +03:00

Windows: Add cpu count option

Signed-off-by: Darren Stahl <darst@microsoft.com>
This commit is contained in:
Darren Stahl
2016-11-01 13:02:46 -07:00
committed by Tibor Vass
parent 7b024c69ee
commit 09e1fc1540
4 changed files with 39 additions and 1 deletions

View File

@ -31,6 +31,9 @@ Options:
--cap-drop value Drop Linux capabilities (default [])
--cgroup-parent string Optional parent cgroup for the container
--cidfile string Write the container ID to the file
--cpu-count int The number of CPUs available for execution by the container.
Windows daemon only. On Windows Server containers, this is
approximated as a percentage of total CPU usage.
--cpu-percent int CPU percent (Windows only)
--cpu-period int Limit CPU CFS (Completely Fair Scheduler) period
--cpu-quota int Limit CPU CFS (Completely Fair Scheduler) quota