From aaf52189dc32d58c7a6364b146cd868fc68e6223 Mon Sep 17 00:00:00 2001 From: Victor Costan Date: Thu, 8 Oct 2015 19:05:06 -0400 Subject: [PATCH] Document CpuShares special handling in Swarm The difference is currently only documented in the issue below. https://github.com/docker/swarm/issues/475 The diff in the PR below highlights the special handling of CpuShares. https://github.com/docker/swarm/pull/904/files Signed-off-by: Victor Costan --- docs/api/swarm-api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/swarm-api.md b/docs/api/swarm-api.md index d4e5e5fcc8..cc23ee4773 100644 --- a/docs/api/swarm-api.md +++ b/docs/api/swarm-api.md @@ -42,6 +42,8 @@ POST "/images/create" : "docker import" flow not implement * `GET "/images/json"` : Use '--filter node=\' to show images of the specific node. +* `POST "/containers/create"`: `CpuShares` in `HostConfig` sets the number of CPU cores allocated to the container. + ## Docker Swarm documentation index - [User guide](https://docs.docker.com/swarm/)