56 views

Command to delete docker image by id

docker rmi b7b28af77ffe

Docker RMI Example

[root@askdevops ~]# docker rmi b7b28af77ffe
Untagged: docker.io/alpine:latest
Untagged: docker.io/alpine@sha256:6a92cd1fcdc8d8cdec60f33dda4db2cb1fcdcacf3410a8e05b3741f44a9b5998
Deleted: sha256:b7b28af77ffec6054d13378df4fdf02725830086c7444d9c278af25312aa39b9
Deleted: sha256:1bfeebd65323b8ddf5bd6a51cc7097b72788bc982e9ab3280d53d3c613adffa7
[root@askdevops ~]# 

Listing docker images

[root@askdevops ~]# docker image ls
REPOSITORY                  TAG                 IMAGE ID            CREATED             SIZE
docker.io/alpine            latest              b7b28af77ffe        2 weeks ago         5.58 MB
[root@askdevops ~]#
Nov 12, 2018 by | 56 views
DevOpsRun.com is LIVE!

Articles for DevOps Geeks
MobaXterm Customization
CHMOD Explained!
Bash history powerful tips
Ubuntu bash from Windows
..