ownagefool 2 days ago

Containers are essentially just a wrapper tool for a linux kernel feature called cgroups, with some added things such as layered fs and the distribution method.

You can also use just use cgroups with systemd.

Now, you could implement something fairly similar in each OS, but you wouldn't be able to use the vast majority of contained software, because it's ultimately linux software.

1
xrisk 2 days ago

cgroups is for controlling resource allocation (CPU, RAM, etc). What you mean is probably namespaces.

ownagefool 2 days ago

It's technically both I guess, but fair correction.