Docker rmi command
docker rmi: Delete the local number or a mirror.
grammar
docker rmi [OPTIONS] IMAGE [IMAGE...]
OPTIONS Description:
-f: Force Delete;
--no-prune: the process does not remove the mirror image, the default is removed;
Examples
Forced to delete a local mirror w3big / ubuntu: v4.
root@w3big:~# docker rmi -f w3big/ubuntu:v4 Untagged: w3big/ubuntu:v4 Deleted: sha256:1c06aa18edee44230f93a90a7d88139235de12cd4c089d41eed8419b503072be Deleted: sha256:85feb446e89a28d58ee7d80ea5ce367eebb7cec70f0ec18aa4faa874cbd97c73