# Remove image by image ID or repository:tag
docker rmi ffcd22192b23
docker rmi ol7_122:latest
# Force the remove using "-f" or "--force".
docker rmi -f ffcd22192b23
docker rmi --force ol7_122:latest
# Remove images matching list.
docker rmi -f $(docker images -q -f "dangling=true")
$sudo docker images [OPTIONS] [REPOSITORY[:TAG]]
docker images