Skip Navigation

Containers are chroot with a Marketing Budget

earthly.dev Containers are chroot with a Marketing Budget

In this article, the author explores the concept of containers and how they are essentially chrooted processes. They walk through the process of bu...

Containers are chroot with a Marketing Budget
25

You're viewing a single thread.

25 comments
  • Honestly, since getting into NixOS, I've found that much more of an elegant system than Docker or whatever.

    • You're comparing apples to oranges. One is a declarative Linux system environment creation solution and the other a daemon that starts sub-system environments using Linux namespaces.

      You could in theory use NixOS to define a system environment that you'd run inside of a docker container. It's a bit harder to get systemd running inside of Docker which NixOS heavily relies on but that's beside the point. Easier integrations exist for LXD and systemd-nspawn which actually fulfil an equivalent purpose to Docker. The single component that is most comparable to Docker in a typical NixOS deployment would arguably be its init process (systemd), though its use extends far beyond setting up the namespace (the root namespace in this case).

You've viewed 25 comments.