Re:`COPY –chmod` reduced the size of my container image by 35%
by burnoutgal on Saturday March 26, 2022 @10:24AM
(#30812052)
Personally I hate scratch images because once you lose busybox, you lose the ability to exec into containers. It's a great escape hatch for troubleshooting.
[ Parent
| on HN ]
Re:`COPY –chmod` reduced the size of my container image by 35%
by kevin_nisbet on Saturday March 26, 2022 @11:45AM
(#30812860)
There are a few options that help here. With host access, I tend to just use nsenter most of the time to do different troubleshooting. It can be a bit of a pain doing network troubleshooting though since the resolv.conf will be different without the fs namespace.
And kubernetes has debug containers and the like now.