Allow setting resource constrains for build

Closes #10191

Allow `docker build` to set --cpu-shares, --cpuset, --memory,
--memory-swap for all containers created by the build.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: e6ae89a45a699bd44f03517396777e34ec76018b
Component: engine
This commit is contained in:
Brian Goff
2015-02-06 09:33:01 -05:00
parent ea8c209cf2
commit 5e80a64076
11 changed files with 151 additions and 4 deletions

View File

@ -60,13 +60,18 @@ You can set ulimit settings to be used within the container.
`GET /info`
**New!**
This endpoint now returns `SystemTime`, `HttpProxy`,`HttpsProxy` and `NoProxy`.
This endpoint now returns `SystemTime`, `HttpProxy`,`HttpsProxy` and `NoProxy`.
`GET /images/json`
**New!**
Added a `RepoDigests` field to include image digest information.
`POST /build`
**New!**
Builds can now set resource constraints for all containers created for the build.
## v1.17
### Full Documentation