This is a story about exploring the new lazy image loading capabilities in ContainerD and how this lazy loading behavior can be leveraged to minify the container images in DockerSlim/MinToolkit.
First, we'll review the SOCI and Stargz snapshotters that provide the lazy loading capabilities, how they work and their differences.
Then, we'll take a look at what happens in the lazy image loading snapshotters to learn how to discover the files loaded by the containers. We'll explore how this file loading telemetry data can be exposed externally, so it can be consumed by MinToolkit.
Finally, you'll discover if it's actually possible to create fully functional minified container images using the SOCI and Stargz snapshotter data.