Hacker News new | ask | show | jobs
by rahen 1461 days ago
chroots have a filesystem namespace but miss user, process and network namespaces. Besides, the Docker registry is fairly convenient.
2 comments

Aha... ? And? What do you want to achieve? That is the question.
FreeBSD jails have those things.
Jails can use the Docker registry?

The nice thing with Dockerfiles and the Docker registry is how quickly I get a reproducible, stateless, isolated environment for any large, proprietary or foreign app I may need, without resorting to a VM or polluting my system. All it takes is an Ubuntu or CentOS base, pull the apps and its dependencies, throw it away when I'm done while keeping a lean Alpine system underneath.

Jails would require me to set things from scratch each time I need a new app, even for a short while. It's just impractical.

I'm considering Nix as a potential alternative, but it doesn't work on the BSDs yet. If you know a way to run "modern workloads" in a KISS, convenient, Unix-y way, please let me know.

>I'm considering Nix as a potential alternative, but it doesn't work on the BSDs yet.

https://wiki.freebsd.org/Nix

BastilleBSD facilitates a lot of these things.
In Regards to registries:

My "builds" are also reproducible. Why? I run the same build and deploy script each time. Wow.

For me this all is old wine in new pipes. Cold coffee. Registries.