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

I love containers, but I'm also using jails on FreeBSD. With jails I can put a different application in each jail, give each jail it's own network stack, firewall and ZFS filesystem. That way I can isolate each application from each other, give quotas to each container. I can turn on filesystem encryption for my database container, use ZFS snapshot and ZFS send to backup my database container. If you need to scale up your application you can snapshot the different application containers and ZFS send those containers to different servers. To update applications, you update your local copy of the container, and snapshot and send it to the production server, if something goes wrong with the update just ZFS rollback the container.

Then if you throw nanobsd into the mix you can create server images that are read only except for the application containers. Then you have a single server image for your application already setup, that you can just boot from or upload to some cloud service.

And now that FreeBSD has a 64bit linux emulator and docker ported everything just get's better.

[1] NanoBSD servers: https://2010.asiabsdcon.org/papers/abc2010-P4A-paper.pdf

[2] NanoBSD servers: https://lwn.net/Articles/387405/

[3] Docker: https://wiki.freebsd.org/Docker




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

Search: