|
@@ -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
|