Hacker News new | ask | show | jobs
by thegabez 1310 days ago
This assumes you have shell and those tools installed via your Dockerfile. Best practice is to have a multi stage build and just have the working binary, keeping the image as light as possible.

So when do you make a fat image with debug tools and when do you keep it skinny?

1 comments

Or you’re running on a VM and can install these tools for debugging and then blow it away when you’re done