User Tools

Site Tools


docker:remove_an_image

Differences

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

Link to this comparison view

Next revision
Previous revision
docker:remove_an_image [2016/10/15 10:17] – created peterdocker:remove_an_image [2020/05/13 08:45] (current) – removed peter
Line 1: Line 1:
-====== Docker - Remove an image ====== 
- 
-===== Find the image ===== 
- 
-<code bash> 
-docker images 
-</code> 
- 
-Returns 
- 
-<code> 
-REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE 
-ubuntu              16.10               df4ba6fcd70e        36 hours ago        100.2 MB 
-ubuntu              16.04               f753707788c5        36 hours ago        127.2 MB 
-ubuntu              latest              f753707788c5        36 hours ago        127.2 MB 
-hello-world         latest              c54a2cc56cbb        3 months ago        1.848 kB 
-docker/whalesay     latest              6b362a9f73eb        16 months ago       247 MB 
-</code> 
- 
-<code bash> 
-docker rmi image_name 
-</code> 
- 
-Seeing all created containers is as simple as docker ps -a. 
- 
-To remove all existing containers (not images!) run docker rm $(docker ps -aq) 
  
docker/remove_an_image.1476526670.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki