|
@@ -15,21 +15,25 @@ weight=1
|
|
|
|
|
|
Build a new image from the source code at PATH
|
|
|
|
|
|
- -f, --file="" Name of the Dockerfile (Default is 'PATH/Dockerfile')
|
|
|
- --force-rm=false Always remove intermediate containers
|
|
|
- --build-arg=[] Set build-time variables
|
|
|
- --no-cache=false Do not use cache when building the image
|
|
|
- --pull=false Always attempt to pull a newer version of the image
|
|
|
- -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-mems="" MEMs in which to allow execution, e.g. `0-3`, `0,1`
|
|
|
- --cpuset-cpus="" CPUs in which to allow execution, e.g. `0-3`, `0,1`
|
|
|
- --cgroup-parent="" Optional parent cgroup for the container
|
|
|
- --ulimit=[] Ulimit options
|
|
|
+ --build-arg=[] Set build-time variables
|
|
|
+ -c, --cpu-shares CPU Shares (relative weight)
|
|
|
+ --cgroup-parent="" Optional parent cgroup for the container
|
|
|
+ --cpu-period=0 Limit the CPU CFS (Completely Fair Scheduler) period
|
|
|
+ --cpu-quota=0 Limit the CPU CFS (Completely Fair Scheduler) quota
|
|
|
+ --cpuset-cpus="" CPUs in which to allow execution, e.g. `0-3`, `0,1`
|
|
|
+ --cpuset-mems="" MEMs in which to allow execution, e.g. `0-3`, `0,1`
|
|
|
+ --disable-content-trust=true Skip image verification
|
|
|
+ -f, --file="" Name of the Dockerfile (Default is 'PATH/Dockerfile')
|
|
|
+ --force-rm=false Always remove intermediate containers
|
|
|
+ --help=false Print usage
|
|
|
+ -m, --memory="" Memory limit for all build containers
|
|
|
+ --memory-swap="" Total memory (memory + swap), `-1` to disable swap
|
|
|
+ --no-cache=false Do not use cache when building the image
|
|
|
+ --pull=false Always attempt to pull a newer version of the image
|
|
|
+ -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
|
|
|
+ --ulimit=[] Ulimit options
|
|
|
|
|
|
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 refer
|