Merge pull request #22569 from sunyuan3/inherit
from inheritted to inherited Upstream-commit: 2301052d74e602bbb0f2e3db70c4787520bc0c1c 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