List all containers running a specific image

Get a list of all Docker containers that are currently running a specified image.

Run this query

To run this query, you can use the following command:

anyquery run list_all_containers_that_are_running_a_specific_image <image_name>

Arguments

Image Name

The name of the image to filter containers by.

Additional informations

Source code Author

Tip

You can limit the number of results returned by a query using the --limit flag. For example, to limit the results to 10 rows, run anyquery run --limit 10.