mirror of https://github.com/docker/cli.git
from inheritted to inherited
Signed-off-by: Yuan Sun <sunyuan3@huawei.com>
This commit is contained in:
parent
e1265df404
commit
d16947629c
|
@ -594,7 +594,7 @@ associated with the container when the container is removed. This is similar
|
|||
to running `docker rm -v my-container`. Only volumes that are specified without a
|
||||
name are removed. For example, with
|
||||
`docker run --rm -v /foo -v awesome:/bar busybox top`, the volume for `/foo` will be removed,
|
||||
but the volume for `/bar` will not. Volumes inheritted via `--volumes-from` will be removed
|
||||
but the volume for `/bar` will not. Volumes inherited via `--volumes-from` will be removed
|
||||
with the same logic -- if the original volume was specified with a name it will **not** be removed.
|
||||
|
||||
## Security configuration
|
||||
|
|
Loading…
Reference in New Issue