English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Docker rmi Command

Docker Command Reference

docker rmi : Delete one or more local images.

Syntax

docker rmi [OPTIONS] IMAGE [IMAGE...]

OPTIONS Description:

  • -f :Forcefully delete;

  • --no-prune :Do not remove the process image of the image that is not removed, default is to remove;

Online Examples

Forcefully delete the local image w3codebox/ubuntu:v4.

root@w3codebox:~# docker rmi -f w3codebox/ubuntu:v4
Untagged: w3codebox/ubuntu:v4
Deleted: sha256:1c06aa18edee44230f93a90a7d88139235de12cd4c089d41eed8419b503072be
Deleted: sha256:85feb446e89a28d58ee7d80ea5ce367eebb7cec70f0ec18aa4faa874cbd97c73

Docker Command Reference