In order to know the list of available images on your device you can make use of the command docker image ls or docker image list
Example: % docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
tomcat latest 8d13ce352985 13 days ago 669MB
docker/getting-started latest adfdb308d623 2 weeks ago 27.4MB
ubuntu latest d5ca7a445605 4 months ago 65.6MB
hello-world latest 18e5af790473 5 months ago 9.14kB
In order to see the digests as well you can make use of the command docker image ls --digests
% docker image --digests
REPOSITORY TAG DIGEST IMAGE ID CREATED SIZE
tomcat latest sha256:4ceb3b972a1a6dfd01106a7743c51953d9a06acef271ce6168490e5d0087206a 8d13ce352985 13 days ago 669MB
docker/getting-started latest sha256:aa945bdff163395d3293834697fa91fd4c725f47093ec499f27bc032dc1bdd16 adfdb308d623 2 weeks ago 27.4MB
ubuntu latest sha256:626ffe58f6e7566e00254b638eb7e0f3b11d4da9675088f4781a50ae288f3322 d5ca7a445605 4 months ago 65.6MB
hello-world latest sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a 18e5af790473 5 months ago 9.14kB
On the other end if you only want to see the Image IDs,
% docker image ls -q
8d13ce352985
adfdb308d623
d5ca7a445605
18e5af790473

Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!