Using docker image prune we can remove dangling or unused images.
So, I'm wondering if there is a way to list all images used by at least one container, also listing - for each image - the containers that are using them.
Is there some out-of-the-box command in Docker or should I write a script to achieve this?