1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api
Samuel Karp ed39fbeb2a Adjust disallowed CpuShares in /containers/create
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>
2015-06-04 17:19:39 -07:00
..
client Merge pull request #13165 from ahmetalpbalkan/durations 2015-06-03 22:14:42 +02:00
server Adjust disallowed CpuShares in /containers/create 2015-06-04 17:19:39 -07:00
types Merge pull request #13731 from jfrazelle/fix-version-on-old-versions 2015-06-03 17:24:53 -07:00
api_unit_test.go fix tests 2014-03-31 18:11:53 +00:00
common.go bump api version to 1.20 2015-05-28 15:32:05 -07:00
README.md Update README.md 2014-07-04 18:21:13 +09:00

This directory contains code pertaining to the Docker API:

  • Used by the docker client when communicating with the docker daemon

  • Used by third party tools wishing to interface with the docker daemon