nightvisi0n / dockgraph

Analyse dependencies of docker images.
Creative Commons Attribution Share Alike 4.0 International
2 stars 1 forks source link

Use Docker API to remove intermediates #15

Closed sedrubal closed 8 years ago

sedrubal commented 8 years ago

It seems that

images = docker_cli.images(all=False)

does not return intermediates. We should use this call if we don't want to display intermediates, otherwise

images = docker_cli.images(all=True)
sedrubal commented 8 years ago

This is not possible, because docker_cli.images(all=False) only returns tagged layers but the most tagged layers have untagged parents. So we'd not be able to build up the tree.