Q:

Get all running Docker containers whose image is derived from a specific image

I have two Docker images, let's call them base and derived. As the names suggest, the one is FROMed from the other.
Now, among other containers, I start multiple instances of derived.
How can I get a list of all of them? In other words: How can I identify containers whose image is derived from a specific base image?
Any hints?

A:

You can get the dockerfile from image https://github.com/CenturyLinkLabs/dockerfile-from-image that will get this information for you. Some scripting based on this anddocker psshould do what you want.

