mirror of
https://github.com/docker/cli.git
synced 2025-07-30 17:03:07 +03:00
run, create: update "--rm" flag description to mention anonymous volumes
The "--rm" flag deletes both the container and any anonymous volumes associated with the container when the container exits. This patch updates the flag description to also mention volumes. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -93,7 +93,7 @@ Create a new container
|
||||
| `-q`, `--quiet` | | | Suppress the pull output |
|
||||
| `--read-only` | | | Mount the container's root filesystem as read only |
|
||||
| `--restart` | `string` | `no` | Restart policy to apply when a container exits |
|
||||
| `--rm` | | | Automatically remove the container when it exits |
|
||||
| `--rm` | | | Automatically remove the container and its associated anonymous volumes when it exits |
|
||||
| `--runtime` | `string` | | Runtime to use for this container |
|
||||
| `--security-opt` | `list` | | Security Options |
|
||||
| `--shm-size` | `bytes` | `0` | Size of /dev/shm |
|
||||
|
@ -95,7 +95,7 @@ Create and run a new container from an image
|
||||
| `-q`, `--quiet` | | | Suppress the pull output |
|
||||
| [`--read-only`](#read-only) | | | Mount the container's root filesystem as read only |
|
||||
| [`--restart`](#restart) | `string` | `no` | Restart policy to apply when a container exits |
|
||||
| [`--rm`](#rm) | | | Automatically remove the container when it exits |
|
||||
| [`--rm`](#rm) | | | Automatically remove the container and its associated anonymous volumes when it exits |
|
||||
| `--runtime` | `string` | | Runtime to use for this container |
|
||||
| [`--security-opt`](#security-opt) | `list` | | Security Options |
|
||||
| `--shm-size` | `bytes` | `0` | Size of /dev/shm |
|
||||
|
@ -93,7 +93,7 @@ Create a new container
|
||||
| `-q`, `--quiet` | | | Suppress the pull output |
|
||||
| `--read-only` | | | Mount the container's root filesystem as read only |
|
||||
| `--restart` | `string` | `no` | Restart policy to apply when a container exits |
|
||||
| `--rm` | | | Automatically remove the container when it exits |
|
||||
| `--rm` | | | Automatically remove the container and its associated anonymous volumes when it exits |
|
||||
| `--runtime` | `string` | | Runtime to use for this container |
|
||||
| `--security-opt` | `list` | | Security Options |
|
||||
| `--shm-size` | `bytes` | `0` | Size of /dev/shm |
|
||||
|
@ -95,7 +95,7 @@ Create and run a new container from an image
|
||||
| `-q`, `--quiet` | | | Suppress the pull output |
|
||||
| `--read-only` | | | Mount the container's root filesystem as read only |
|
||||
| `--restart` | `string` | `no` | Restart policy to apply when a container exits |
|
||||
| `--rm` | | | Automatically remove the container when it exits |
|
||||
| `--rm` | | | Automatically remove the container and its associated anonymous volumes when it exits |
|
||||
| `--runtime` | `string` | | Runtime to use for this container |
|
||||
| `--security-opt` | `list` | | Security Options |
|
||||
| `--shm-size` | `bytes` | `0` | Size of /dev/shm |
|
||||
|
Reference in New Issue
Block a user