Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

I built software to cut docker image sizes by more than 80%. It uses dynamic analysis and and has a LOT more room for improvement. The demo here shows an ETL workflow docker image, cut down from 1.28GB to 193MB (-85%)! If large docker image sizes are becoming a...

353,167 Aufrufe • vor 1 Jahr •via X (Twitter)

10 Kommentare

Profilbild von omkaar
omkaarvor 1 Jahr

Read more:

Profilbild von harambe_musk🍌
harambe_musk🍌vor 1 Jahr

This tool could come in handy for exploring layers of docker that can be shrinked:

Profilbild von omkaar
omkaarvor 1 Jahr

dive is awesome!

Profilbild von vivekb.eth | w.ai
vivekb.eth | w.aivor 1 Jahr

this is a common issue we face when running production containers on GPUs, we don’t even have a model in the image just a lot of dependencies. cool stuff would love to check it out

Profilbild von omkaar
omkaarvor 1 Jahr

thats the biggest problem with ML dependencies, they are extensible and bloated + dependencies creates a hoard of unused package. static analysis can only get you so far. would love to chat more if this is a pressing problem. Here is a quick explainer -

Profilbild von Adam M. Smith (史亚当)
Adam M. Smith (史亚当)vor 1 Jahr

The idea of watching for which parts of the FS are actually touched during execution reminds me of @playablequotes /

Profilbild von Vasco Lameiras
Vasco Lameirasvor 1 Jahr

Interesting, thanks for sharing. I usually settle with distroless

Profilbild von omkaar
omkaarvor 1 Jahr

distroless is the next best thing, my tool is more aggressive than distroless

Profilbild von Bobai Kato
Bobai Katovor 1 Jahr

Simply reducing the size of the Docker image and confirming that it “still works fine” is not sufficient to guarantee that the image is free of defects. Could you provide more details on the additional testing methods you have used to validate its functionality and stability?

Profilbild von omkaar
omkaarvor 1 Jahr

good question, the ETL tool minimal image did precisely the same transformations as the larger image. For images with broader scope, tests on the application are needed to validate whether functionality is working. luckily, most orgs have tests like this. did you have any other ideas?

Ähnliche Videos