docker rmi : Delete one or more local mirrors. OPTIONS description: -f : Force deletion –no-prune : Do not remove the process image of the mirror, but remove it by default Forces the deletion of the local mirror runoob/ubuntu:v4. 2.54.1. Grammar ¶
docker rmi [OPTIONS] IMAGE [IMAGE...]
2.54.2. Example ¶
root@runoob:~# docker rmi -f runoob/ubuntu:v4
Untagged: runoob/ubuntu:v4
Deleted: sha256:1c06aa18edee44230f93a90a7d88139235de12cd4c089d41eed8419b503072be
Deleted: sha256:85feb446e89a28d58ee7d80ea5ce367eebb7cec70f0ec18aa4faa874cbd97c73