|
@@ -8,6 +8,7 @@ docker-build - Build an image from a Dockerfile
|
|
|
**docker build**
|
|
|
[**--add-host**[=*[]*]]
|
|
|
[**--build-arg**[=*[]*]]
|
|
|
+[**--cache-from**[=*[]*]]
|
|
|
[**--cpu-shares**[=*0*]]
|
|
|
[**--cgroup-parent**[=*CGROUP-PARENT*]]
|
|
|
[**--help**]
|
|
@@ -31,6 +32,7 @@ docker-build - Build an image from a Dockerfile
|
|
|
[**--cpu-quota**[=*0*]]
|
|
|
[**--cpuset-cpus**[=*CPUSET-CPUS*]]
|
|
|
[**--cpuset-mems**[=*CPUSET-MEMS*]]
|
|
|
+[**--target**[=*[]*]]
|
|
|
[**--ulimit**[=*[]*]]
|
|
|
PATH | URL | -
|
|
|
|
|
@@ -93,6 +95,9 @@ option can be set multiple times.
|
|
|
or for variable expansion in other Dockerfile instructions. This is not meant
|
|
|
for passing secret values. [Read more about the buildargs instruction](https://docs.docker.com/engine/reference/builder/#arg)
|
|
|
|
|
|
+**--cache-from**=""
|
|
|
+ Set image that will be used as a build cache source.
|
|
|
+
|
|
|
**--force-rm**=*true*|*false*
|
|
|
Always remove intermediate containers, even after unsuccessful builds. The default is *false*.
|
|
|
|
|
@@ -233,6 +238,9 @@ two memory nodes.
|
|
|
If the path is not absolute, the path is considered relative to the `cgroups` path of the init process.
|
|
|
Cgroups are created if they do not already exist.
|
|
|
|
|
|
+**--target**=""
|
|
|
+ Set the target build stage name.
|
|
|
+
|
|
|
**--ulimit**=[]
|
|
|
Ulimit options
|
|
|
|