mirror of https://github.com/docker/cli.git
one ponted out by lukaspustina, and one that I bet I added
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
This commit is contained in:
parent
231c00296b
commit
29d73de168
|
@ -185,7 +185,7 @@ Examples:
|
||||||
|
|
||||||
Usage: docker build [OPTIONS] PATH | URL | -
|
Usage: docker build [OPTIONS] PATH | URL | -
|
||||||
Build a new container image from the source code at PATH
|
Build a new container image from the source code at PATH
|
||||||
-t, --time="": Repository name (and optionally a tag) to be applied
|
-t, --tag="": Repository name (and optionally a tag) to be applied
|
||||||
to the resulting image in case of success.
|
to the resulting image in case of success.
|
||||||
-q, --quiet=false: Suppress the verbose output generated by the containers.
|
-q, --quiet=false: Suppress the verbose output generated by the containers.
|
||||||
--no-cache: Do not use the cache when building the image.
|
--no-cache: Do not use the cache when building the image.
|
||||||
|
@ -1224,7 +1224,7 @@ to the newly created container.
|
||||||
$ sudo docker run --volumes-from 777f7dc92da7,ba8c0c54f0f2:ro -i -t ubuntu pwd
|
$ sudo docker run --volumes-from 777f7dc92da7,ba8c0c54f0f2:ro -i -t ubuntu pwd
|
||||||
|
|
||||||
The ``--volumes-from`` flag mounts all the defined volumes from the
|
The ``--volumes-from`` flag mounts all the defined volumes from the
|
||||||
referenced containers. Containers can be specified by a comma seperated
|
referenced containers. Containers can be specified by a comma separated
|
||||||
list or by repetitions of the ``--volumes-from`` argument. The container
|
list or by repetitions of the ``--volumes-from`` argument. The container
|
||||||
ID may be optionally suffixed with ``:ro`` or ``:rw`` to mount the volumes in
|
ID may be optionally suffixed with ``:ro`` or ``:rw`` to mount the volumes in
|
||||||
read-only or read-write mode, respectively. By default, the volumes are mounted
|
read-only or read-write mode, respectively. By default, the volumes are mounted
|
||||||
|
|
Loading…
Reference in New Issue