3 ms·
This is interesting for optimizing build time. But I think it works a bit different from docker-slim, which is focused on the final resulting image size. Dive
by CameronNemo 4y ago
This is interesting for optimizing build time. But I think it works a bit different from docker-slim, which is focused on the final resulting image size.
Dive is a good tool for the latter IME. https://github.com/wagoodman/dive https://github.com/wagoodman/dive
It doesn't do the work for you, but it does single out the big layers in your image.
- password4321 4y agoIf you want a quick double check to verify a handful of common cleanups, check out https://github.com/viraptor/cruftspy https://github.com/viraptor/cruftspy, which reports cruft like logs, caches, and git repos.