mirror of https://github.com/docker/cli.git
small reference change
Signed-off-by: Marc Bihlmaier <marc.bihlmaier@reddoxx.com>
This commit is contained in:
parent
10e292dbab
commit
9490189cba
|
@ -623,7 +623,7 @@ the container exits**, you can add the `--rm` flag:
|
|||
|
||||
--rm=false: Automatically remove the container when it exits (incompatible with -d)
|
||||
|
||||
> **Note**: When you set the `--rm` flag, Docker also removes the volumes
|
||||
> **Note**: When you set the `--rm` flag, Docker also removes the anonymous volumes
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue