User Tools

Site Tools


docker:images:remove_dangling_images

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
docker:images:remove_dangling_images [2020/05/13 08:55] – created peterdocker:images:remove_dangling_images [2022/09/19 14:15] (current) peter
Line 6: Line 6:
  
   * They no longer serve a purpose and consume disk space.   * They no longer serve a purpose and consume disk space.
-  * They can be located by adding the filter flag, -f with a value of dangling=true to the docker images command. +  * They can be located by adding the filter flag, **-f** with a value of **dangling=true** to the docker images command. 
-  * When you're sure you want to delete them, you can add the -q flag, then pass their ID to docker rmi:+  * When you're sure you want to delete them, you can add the **-q** flag, then pass their ID to docker rmi: 
 + 
 +----
  
 To list dangling images: To list dangling images:
Line 14: Line 16:
 docker images -f dangling=true docker images -f dangling=true
 </code> </code>
 +
 +----
  
 To remove dangling images: To remove dangling images:
docker/images/remove_dangling_images.1589360111.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki