Get the App
SLTechnology News&Howtos  ›  Development  › 

Example Analysis of dangling images in docker

Shulou Source: shulou.com Published: 2022-06-01 04:51:54 11月07日 Update

This article mainly introduces the example analysis of dangling images in docker, which is very detailed and has certain reference value. Friends who are interested must finish it!

Dangling images

When build's own docker image is used, it is sometimes encountered to use one or more middle-tier images, which reduces the size of the final packaged docker image to a certain extent, but produces some useless images whose tag is none, also known as hanging image (dangling images).

List all dangling images:

Docker images-f "dangling=true"

Delete all dangling images:

Docker rmi $(docker images-f "dangling=true"-Q) above is all the content of this article "sample Analysis of dangling images in docker". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Mirrors examples analysis content articles middle tier value interests multiple size guys partners time more knowledge degree industry information information channels channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn OPPO Reno Linux MySQL Apple