Forrest logo
back to the docker tool

docker:tldr:95485

docker: Display the list of already downloaded images.
$ docker images
try on your machine

The docker images command is used to list all the available Docker images on your local machine.

When you build a Docker image using a Dockerfile or pull an image from a remote Docker registry, it is stored locally on your machine. These images serve as a template for creating Docker containers.

When you run docker images, Docker queries your local Docker engine to fetch a list of images that are present on your system. The command displays various details about each image, including the repository name, tag, image ID, creation date, and size.

The output will typically have several columns representing different attributes of the images. The commonly displayed columns include the repository name, tag, image ID, and size. The repository name indicates the name of the image, while the tag specifies the version or variant of that image. The image ID is a unique identifier assigned by Docker to each image. The size column shows the disk space occupied by the image on your machine.

By viewing the list of images with docker images, you can track which images are available locally and use them to create containers with docker run or other related commands.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the docker tool