We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
/cc @aluzzardi @sfsmithcha
Sorry, something went wrong.
@cmingxu Based on the calculation: https://github.com/docker/docker/blob/v1.12.0-rc4/daemon/cluster/executor/container/container.go#L328-L332
resources.CPUQuota = r.Limits.NanoCPUs * resources.CPUPeriod / 1e9
, NanoCPUs is defined as the CPU shares in units of 1/1e9 (or 10^-9) of the CPU.
NanoCPUs
1/1e9
10^-9
In other words, NanoCPUs is the number of nano (1/1e9) CPUs by a process.
nano (1/1e9) CPUs
This issue should be closed. This should be documented in https://docs.docker.com/engine/reference/commandline/service_create/#options (thus this issue is superseded by #30222)
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: