logoalt Hacker News

LelouBiltoday at 12:11 AM1 replyview on HN

I get the savings of Distroless, but when you have an issue it's a pain to debug.


Replies

capecodestoday at 2:31 AM

copy the single busybox statically linked binary into a container, and you can create a bunch of symlinks for its tools that you want to use (this is how busybox container itself works)

makes it trivial to do the dhi/rootless thing but do ad-hoc debugging and then remove the debugging tools entirely, leaving no trace/bloat behind (just one file)