cli/docs/reference/commandline/rmi.md

899 B

docker rmi

Remove one or more images

Aliases

docker image rm, docker image remove, docker rmi

Options

Name Type Default Description
-f, --force bool Force removal of the image
--no-prune bool Do not delete untagged parents
--platform stringSlice Remove only the given platform variant. Formatted as os[/arch[/variant]] (e.g., linux/amd64)