docker rmi -f $(docker images -aq)
docker rmi -f
Force remove imagesdocker images -aq
: List IDs of all images-a
: List all images-q
: Only show image IDs
docker rmi -f $(docker images -aq)
docker rmi -f
Force remove imagesdocker images -aq
: List IDs of all images
-a
: List all images-q
: Only show image IDs