5 ms·
Because curl is not installed in minimal docker images.
by asmnzxklopqw 4mo ago
Because curl is not installed in minimal docker images.
- gear54rus 4mo agoneither is bash or even sh for that matter :) if you have bash, you probably have apk or apt
- mcmoor 4mo agoSometimes I worked in environment that blocks all internet access, but I still need some way to test internal connectivity.
- xp84 4mo agoSometimes I don't understand why people use those most tiny of images, at least for anything that they might ever ssh into. When there is no corresponding level of restraint in the libraries that we add to most applications, does it really make a difference to leave out the likes of curl, nano, ping, etc compared to how frustrating it is to operate in just busybox (etc)? I'm not just ranting, I'd actually like someone who swears by always shipping alpine images (etc) and never installing any basic utilities in them to share their reasoning.
- alex_smart 4mo agoLess installed things means smaller security surface area, fewer things to patch when CVEs get discovered etc. Thanks to `kubectl debug`, you don't need to install debugging utilities into your production image.