mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
fix: Document removing anonymous volumes at create
[NO NEW TESTS NEEDED] Signed-off-by: Park Jaeon <me@finalchild.dev>
This commit is contained in:
@ -397,7 +397,7 @@ func DefineCreateFlags(cmd *cobra.Command, cf *entities.ContainerCreateOptions,
|
||||
createFlags.BoolVar(
|
||||
&cf.Rm,
|
||||
"rm", false,
|
||||
"Remove container (and pod if created) after exit",
|
||||
"Remove container and any anonymous unnamed volume associated with the container after exit",
|
||||
)
|
||||
createFlags.BoolVar(
|
||||
&cf.RootFS,
|
||||
|
@ -316,7 +316,8 @@ Suppress output information when pulling images
|
||||
|
||||
#### **--rm**
|
||||
|
||||
Automatically remove the container when it exits. The default is *false*.
|
||||
Automatically remove the container and any anonymous unnamed volume associated with
|
||||
the container when it exits. The default is **false**.
|
||||
|
||||
@@option rootfs
|
||||
|
||||
|
Reference in New Issue
Block a user