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]".
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.
## 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!