top | item 19862099 (no title) hssys | 6 years ago You might want at least a shell in the container for debugging? discuss order hn newest ImJasonH|6 years ago Distroless has debug images for this purpose: https://github.com/GoogleContainerTools/distroless/blob/mast... souterrain|6 years ago Adding a shell seems antithetical to deploying production code as a static-linked binary, not to mention an expansion of the attack surface of the container. hibbelig|6 years ago Without a shell, how does one debug if anything goes wrong? load replies (4) discreteevent|6 years ago Debugging is about when the difference between theory and practice breaks down. ecnahc515|6 years ago You can use nsenter
ImJasonH|6 years ago Distroless has debug images for this purpose: https://github.com/GoogleContainerTools/distroless/blob/mast...
souterrain|6 years ago Adding a shell seems antithetical to deploying production code as a static-linked binary, not to mention an expansion of the attack surface of the container. hibbelig|6 years ago Without a shell, how does one debug if anything goes wrong? load replies (4) discreteevent|6 years ago Debugging is about when the difference between theory and practice breaks down.
discreteevent|6 years ago Debugging is about when the difference between theory and practice breaks down.
ImJasonH|6 years ago
souterrain|6 years ago
hibbelig|6 years ago
discreteevent|6 years ago
ecnahc515|6 years ago