Skip to content

Commit

Permalink
Merge pull request #2990 from apostasie/dev-2
Browse files Browse the repository at this point in the history
Add missing alias for container rm/remove
  • Loading branch information
AkihiroSuda committed May 12, 2024
2 parents ec9d9ca + c60adf2 commit d8a76c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/nerdctl/container_remove.go
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 d8a76c5

Please sign in to comment.