User Tools

Site Tools


docker:images:remove_an_image

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker:images:remove_an_image [2022/09/19 14:17] peterdocker:images:remove_an_image [2022/09/19 14:23] (current) – [Remove an image] peter
Line 24: Line 24:
 <code bash> <code bash>
 docker rmi image_name docker rmi image_name
-</code> 
- 
-Seeing all created containers is as simple as **docker ps -a**. 
- 
-To remove all existing containers (not images!) run: 
- 
-<code bash> 
-docker rm $(docker ps -aq) 
 </code> </code>
  
Line 89: Line 81:
 </code> </code>
  
-The **dangling=true filter** finds unused images.+<WRAP info> 
 +**NOTE:**  The **dangling=true filter** finds unused images. 
 +</WRAP> 
docker/images/remove_an_image.1663597021.txt.gz · Last modified: 2022/09/19 14:17 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki