10 ms·
Okay, no. If you're going to set the bar at "must be identical to Linux" then you may as well just use Linux. Docker specifically (and anything based on cgrou
by inferiorhuman 4y ago
Okay, no. If you're going to set the bar at "must be identical to Linux" then you may as well just use Linux. Docker specifically (and anything based on cgroups) is so closely tied to Linux that you're not going to find a clone on a non-Linux platform. Nor should you.
Insofar as encapsulating a container in a file-like format, the primitives are all there: you can export a ZFS snapshot of your jail to a file. Higher level tooling is there as well: iocage has an export subcommand.
Building jails is an exercise left to the reader. I've always found Dockerfiles to be archaic and generally unpleasant to deal with such that I feel like the lack of a Docker compatible template file is a feature not a bug. While I use ansible and some shell scripts, things like Nomad already support (iocage) jails.