Personally, I settled on wolfi-base, which feels a lot like Alpine, but is based on glibc, so there's fewer compatibility issues. I also considered debian-slim, but there's just too many CVEs in Debian, and I was fed up with it being so outdated all the time. What I really wanted was something like wolfi, but more open, i.e., not associated with paid images. We need a glibc-based Alpine!
post
Why would you build docker images for Rust? I mean if you’re renting containers from data centers or just want to run in a sandbox - sure… but rust binaries are statically linked which negates almost all other benefits of containers.
Easier to deploy and manage for server use?
That’s what I’m saying though - with statically linked binaries it’s just as easy to deploy the binary as it is the docker image.
You're looking at it from the perspective of having coded a single application and wanting to deploy it. Try to think more like a sysadmin:
- You've got a whole bunch of applications to deploy. Some of them may use dynamic linking, too.
- You don't know any of them too intimately, so want to just prevent them from interfering with each other, unless you allow it.
- You want a uniform tool to manage all these different applications, and especially also when they're allowed to interact.
The result is deployment orchestration tools like Kubernetes, Docker Compose, Podman Compose etc.. And as a dev, you have to provide a container image, if you want to play along in those.
How would you manage the networking and monitoring at a cluster level?
no comments (yet)