Hacker News new | ask | show | jobs
by nerdbaggy 1066 days ago
I really like Alpine for making vm images. It is extremely easy to make the VM only run in memory or in data disk mode where the code is in ram but the files are persisted to disk with snapshots

https://wiki.alpinelinux.org/wiki/Installation#Diskless_Mode

1 comments

That sounds like an interesting use case and a valid time to be concerned with image size. It's the cargo-culting optimization of Docker base images that I'm complaining about.
It's a solved problem, use scratch, distroless, or buildpacks.