mirror of https://github.com/docker/docs.git
Previous versions of libcontainer allowed CpuShares that were greater than the maximum or less than the minimum supported by the kernel, and relied on the kernel to do the right thing. Newer libcontainer fails after creating the container if the requested CpuShares is different from what was actually created by the kernel, which breaks compatibility with earlier Docker Remote API versions. This change explicitly adjusts the requested CpuShares in API versions < 1.20. Signed-off-by: Samuel Karp <skarp@amazon.com> |
||
---|---|---|
.. | ||
form.go | ||
form_test.go | ||
profiler.go | ||
server.go | ||
server_linux.go | ||
server_linux_test.go | ||
server_windows.go |