mirror of https://github.com/docker/cli.git
Adding doc
Signed-off-by: Julien Barbier <write0@gmail.com>
This commit is contained in:
parent
485c6d868b
commit
3fca935671
|
@ -642,8 +642,9 @@ is returned by the `docker attach` command to its caller too:
|
||||||
-m, --memory="" Memory limit for all build containers
|
-m, --memory="" Memory limit for all build containers
|
||||||
--memory-swap="" Total memory (memory + swap), `-1` to disable swap
|
--memory-swap="" Total memory (memory + swap), `-1` to disable swap
|
||||||
-c, --cpu-shares CPU Shares (relative weight)
|
-c, --cpu-shares CPU Shares (relative weight)
|
||||||
--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`
|
--cpuset-mems="" MEMs in which to allow execution, e.g. `0-3`, `0,1`
|
||||||
|
--cpuset-cpus="" CPUs in which to allow exection, e.g. `0-3`, `0,1`
|
||||||
|
--cgroup-parent="" Optional parent cgroup for the container
|
||||||
|
|
||||||
Builds Docker images from a Dockerfile and a "context". A build's context is
|
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
|
the files located in the specified `PATH` or `URL`. The build process can
|
||||||
|
@ -862,6 +863,9 @@ you refer to it on the command line.
|
||||||
> children) for security reasons, and to ensure repeatable builds on remote
|
> children) for security reasons, and to ensure repeatable builds on remote
|
||||||
> Docker hosts. This is also the reason why `ADD ../file` will not work.
|
> Docker hosts. This is also the reason why `ADD ../file` will not work.
|
||||||
|
|
||||||
|
`docker build` has a `--cgroup-parent` option that causes the containers used
|
||||||
|
in the build to be run with this option.
|
||||||
|
|
||||||
## commit
|
## commit
|
||||||
|
|
||||||
Usage: docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]]
|
Usage: docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]]
|
||||||
|
|
Loading…
Reference in New Issue