I naively sent the Docker developers a PR[1] to add this functionality into mainline Docker back in 2015. I was rapidly redirected into helping out in other areas - not having to use a registry undermined their business model too much I guess.[1]: https://github.com/richardcrichardc/docker2docker
psviderski|8 months ago
It's a bummer docker still doesn't have an API to explore image layers. I guess their plans to eventually transition to containerd image store as the default. Once we have containerd image store both locally and remotely we will finally be able to do what you've done without the registry wrapper.
cik|8 months ago
But yes, an API would be ideal. I've wasted far too much time on this.