Easy Tutorial
❮ Docker Machine Docker Port Command ❯

Docker rmi Command

Docker Command Manual


docker rmi : Delete one or more local images.

Syntax

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

OPTIONS Description:

-

-f : Force deletion;

-

--no-prune : Do not remove the image's parent images, default is to remove;

Example

Force delete the local image tutorialpro/ubuntu:v4.

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

Docker Command Manual

❮ Docker Machine Docker Port Command ❯