Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We drop a statically compiled BusyBox binary on images like that as "sh". If we need more we can symlink to it in /tmp at debug time (or just call it directly). It strikes a good balance between slim and debuggable.


Do you do this during build time or debug time?


Been using containers and fighting this problem for a long time... I never thought of this simple solution, thank you for sharing it!




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: