Forrest logo
back to the docker tool

docker:tldr:73c0d

docker: List the output in quiet mode (only numeric IDs).
$ docker images --quiet
try on your machine

The command "docker images --quiet" is used to display a list of Docker images, showing only the image IDs without any additional information.

Here's a breakdown of the command:

  • "docker" refers to the Docker command-line tool.
  • "images" is a sub-command that is used to list all the available Docker images.
  • "--quiet" or "-q" is an optional flag that is used to display only the image ID(s) without any other details such as the image names, tags, or sizes.

By using the "--quiet" flag, the command will output only the image ID(s), which can be useful if you want to use the IDs in another script or command without additional information cluttering the output.

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