Was recently somewhat surprised that you can’t just copy a Rust executable into a ´scratch´ container and have it work, so this is a cool blog post to find in my RSS feed.
I’m guessing, if you’re doing something less complex, then you just need the ´musl´ target and the allocator…



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:
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.
Those are great points! Thank you.
How would you manage the networking and monitoring at a cluster level?
Hmm there are plenty of tools to do that without containers… though I do see your point that docker provides a unified way of doing that which is easier.