Tuesday 4 June 2019

Docker: Get all the images in your system


‘docker images’ command return all the docker images in your system.

$docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
redis               latest              a55fbf438dfd        3 weeks ago         95MB
hello-world         latest              fce289e99eb9        3 months ago        1.84kB

‘TAG’ represents the version of the image, in my case both the images redis and hello-world are latest.

‘IMAGE ID’ is the internal identifier given by your docker system.

How to refer an image?
There are two ways.
a.   Refer the image by. Id

b.   Refer the image. By REPOSIOTRY:TAG

Previous                                                 Next                                                 Home

No comments:

Post a Comment