from inheritted to inherited
Signed-off-by: Yuan Sun <sunyuan3@huawei.com> Upstream-commit: fe1130b7bab0d0724133b4d0e2aa0ca5a5dc0222 Component: engine
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user