mirror of
https://github.com/docker/cli.git
synced 2026-09-27 09:46:01 -04:00
Add ulimit to docker build.
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
@@ -22,6 +22,7 @@ docker-build - Build a new image from the source code at PATH
|
||||
[**--cpuset-cpus**[=*CPUSET-CPUS*]]
|
||||
[**--cpuset-mems**[=*CPUSET-MEMS*]]
|
||||
[**--cgroup-parent**[=*CGROUP-PARENT*]]
|
||||
[**--ulimit**[=*[]*]]
|
||||
|
||||
PATH | URL | -
|
||||
|
||||
@@ -142,6 +143,12 @@ 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.
|
||||
|
||||
**--ulimit**=[]
|
||||
Ulimit options
|
||||
|
||||
For more information about `ulimit` see [Setting ulimits in a
|
||||
container](https://docs.docker.com/reference/commandline/run/#setting-ulimits-in-a-container)
|
||||
|
||||
# EXAMPLES
|
||||
|
||||
## Building an image using a Dockerfile located inside the current directory
|
||||
|
||||
Reference in New Issue
Block a user