News for hackers. Stuff that matters.
Re:Docker-slim: Minify your Docker container image without c... by yegle on Wednesday December 11, 2019 @02:29AM (#21760372)
For running network related debug tool: use nsenter (https://github.com/jpetazzo/nsenter/blob/master/README.md) which allows you to run network related tools using the network namespace of the container.

For simple shell access, use the :debug variant of distroless images which include a shell.

For more complex troubleshooting, I think other people has recommended many ways. I haven't had the need to do such troubleshooting but if I need to I would mount an image with necessary binaries into the container. This is where distroless becomes handy: I can mount a Debian image and don't worry about ABI compatibility.

There are no comments on this comment yet.