Hacker News new | ask | show | jobs
by goombacloud 1258 days ago
You don't need to be in the container and trace from there, you can run strace outside of the container (you just have to make sure that the process ID you use is the one as seen from the host).
1 comments

Not in managed kubernetes / container service cloud thing.

And on docker desktop on mac/win it’s at least some hassle to get into that hidden VM (but let me know if I’m wrong)

On linux-no-vm-bs it’s fine, sure!

You can spawn a (priv) container with the host PID namespace and then trace from there.