Skip to content
Home » How to list all docker images

How to list all docker images

The “docker images” command with no arguments is the simplest way to list Docker images. When you run this command, you will be given with a list of all Docker images on your system.

sudo docker images

Remove sudo if you are using windows based environment.

You can also use the “docker image” command with the “ls” parameter. It is important to note that you must write image rather than images.

sudo docker image ls

Listing Unused docker images

Some images may be unused by any container. Even those images can be list using the below command.

docker images -a

List docker images by name and tag

docker images [image name]

Example:

docker images ubuntu

listing the image by providing the correct tag.

docker images ubuntu:18.04