Hacker News new | past | comments | ask | show | jobs | submit login

I'm not sure if this approach is being used already or even viable, but there are good tools for the following:

- creating minimal OCI images from Nix packages

- creating microvms from OCI images

There are certainly some tradeoffs with this approach, but given that the author is trying to optimize for size, in addition to one of the primary benefits to this approach being a really clean, structured build/deploy loop, it seems like it could be worth exploring.




Yes: https://nix.dev/tutorials/nixos/building-and-running-docker-...

They OCI images generated are super light weight.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: