Home>Article>Operation and Maintenance> How to check how many images docker is running

How to check how many images docker is running

WBOY
WBOY Original
2022-01-17 11:38:17 12048browse

In docker, you can use the images command to query docker images. The function of this command is to list local images. When the parameter is set to "-a", all local images containing intermediate image layers will be listed. Image, the syntax is "docker images [OPTIONS]".

How to check how many images docker is running

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

How to check how many images docker has run

docker images: List local images.

Syntax

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

OPTIONS description:

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

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

  • -f: Display images that meet the conditions;

  • --format: Specify the template file for the return value;

  • --no-trunc: Display the complete image information;

  • -q: Only the image ID is displayed.

Instance

View the local mirror list.

How to check how many images docker is running

How to check how many images docker is running

## Recommended learning: "

docker video tutorial"

The above is the detailed content of How to check how many images docker is running. 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