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
docker:images:remove_an_image [2022/09/19 14:22] – [Remove dangling (unused) images] 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>
  
docker/images/remove_an_image.1663597364.txt.gz · Last modified: 2022/09/19 14:22 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki