Home >Operation and Maintenance >Docker >What does images mean in docker?

What does images mean in docker?

WBOY
WBOYOriginal
2021-12-30 10:33:065454browse

In docker, the images command means "list local images", and the syntax is "docker images option"; when the parameter is "-f" or "-filter", the listed images can be Filter. When the parameter is "-q", only the image ID can be displayed.

What does images mean in docker?

The operating environment of this tutorial: linux7.3 system, docker-1.13.1 version, Dell G3 computer.

What does images mean in docker

docker images: List local images.

The syntax is:

docker images [OPTIONS] [REPOSITORY[:TAG]]

The parameters are listed as follows:

  • -a: List all local images (including intermediate image layers , by default, the intermediate image layer is filtered out);

  • --digests: Display summary information of the image;

  • -f: Display Images that meet the conditions;

  • --format: template file that specifies the return value;

  • --no-trunc: display the complete image Information;

  • -q: Only the image ID is displayed.

Examples are as follows:

What does images mean in docker?

Among them:

  • REPOSITORY represents the mirror Warehouse

  • TAG represents the image tag

  • IMAGE ID represents the image ID

  • CREATED represents the image creation Time

  • SIZE represents the image size

Recommended learning: "docker video tutorial"

The above is the detailed content of What does images mean in docker?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn