Merge pull request #11410 from cpuguy83/10191_build_resources

Allow setting resource constraints for build
This commit is contained in:
Doug Davis
2015-03-18 21:44:21 -04:00
11 changed files with 151 additions and 4 deletions
@@ -515,6 +515,10 @@ is returned by the `docker attach` command to its caller too:
-q, --quiet=false Suppress the verbose output generated by the containers
--rm=true Remove intermediate containers after a successful build
-t, --tag="" Repository name (and optionally a tag) for the image
-m, --memory="" Memory limit for all build containers
--memory-swap="" Total memory (memory + swap), `-1` to disable swap
-c, --cpu-shares CPU Shares (relative weight)
--cpuset-cpus="" CPUs in which to allow exection, e.g. `0-3`, `0,1`
Builds Docker images from a Dockerfile and a "context". A build's context is
the files located in the specified `PATH` or `URL`. The build process can