fix: Document removing anonymous volumes at create

[NO NEW TESTS NEEDED]
Signed-off-by: Park Jaeon <me@finalchild.dev>
This commit is contained in:
Park Jaeon
2023-04-12 07:44:12 +09:00
committed by finalchild
parent 3a47342a6a
commit d38b22d507
2 changed files with 3 additions and 2 deletions

View File

@ -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,

View File

@ -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