containerd / containerd/nerdctl

support `-f` and `--no-prune` for rmi command

Open
#348 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
10.4k
Forks
826
Avg merge
1d 23h
Merged PRs (30d)
44

Description

There is nerdctl help of rmi:
```
$ nerdctl rmi --help
NAME:
nerdctl rmi - Remove one or more images

USAGE:
nerdctl rmi [command options] [flags] IMAGE [IMAGE, ...]

OPTIONS:
--help, -h show help (default: false)
```
And docker help of rmi is:
```
$ /usr/local/bin/docker rmi --help

Usage: docker rmi [OPTIONS] IMAGE [IMAGE...]

Remove one or more images

Options:
-f, --force Force removal of the image
--no-prune Do not delete untagged parents
```

Please notice that there is no `--force` and `--no-prune` at `nerdctl rmi`. Could we add those flags?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.