Home>Article>Operation and Maintenance> docker rmi what does it mean

docker rmi what does it mean

藏色散人
藏色散人 Original
2021-12-09 15:14:52 4343browse

docker rmi is a command used to delete one or more local images. Its usage syntax is "docker rmi [OPTIONS] IMAGE [IMAGE...]".

docker rmi what does it mean

The operating environment of this article: ubuntu 18.04 system, Docker version 20.10.11, Dell G3 computer.

What does docker rmi mean?

Docker rmi command

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 process image of the image, Removed by default;

Instance

Forcibly delete the local image runoob/ubuntu:v4.

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

Recommended learning: "Docker Video Tutorial"

The above is the detailed content of docker rmi what does it mean. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn