Skip to content

Commit

Permalink
Add missing alias for container rm/remove
Browse files Browse the repository at this point in the history
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
  • Loading branch information
apostasie committed May 11, 2024
1 parent 8eeef86 commit c60adf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/nerdctl/container_remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func newRmCommand() *cobra.Command {
SilenceUsage: true,
SilenceErrors: true,
}
rmCommand.Aliases = []string{"remove"}
rmCommand.Flags().BoolP("force", "f", false, "Force the removal of a running|paused|unknown container (uses SIGKILL)")
rmCommand.Flags().BoolP("volumes", "v", false, "Remove volumes associated with the container")
return rmCommand
Expand Down

0 comments on commit c60adf2

Please sign in to comment.