www.LinuxHowtos.org
DOCKER
Section: Docker User Manuals (1)Updated: Jun 2025
Index Return to Main Contents
NAME
docke-rmi- Remove one or more images
SYNOPSIS
docker rmi [OPTIONS] IMAGE [IMAGE...]
DESCRIPTION
Alias for docker image rm.
OPTIONS
-f, -force[=false] Force removal of the image
-n-prune[=false]
Do not delete untagged parents
-platform=[]
Remove only the given platform variant. Formatted as "os[/arch[/variant]]" (e.g., "linux/amd64")
SEE ALSO
docker(1)