• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle




  • I’ve seen this before and I think it is worth adding some context too.

    Let’s start with, yea, it leads to absurd result like the clown show in uvalde where I wouldn’t trust that police force to rescue cats from trees.

    But… the other way you can’t have a right to a scarce resource (police protection). Police calls while not exactly random can’t be accurately predicted. It doesn’t make sense for a police force to be liable for failing to protect when they might literally not have the ability to protect. Or, through chance, there are no police officers that can get to the location in time.

    Instead, the point is to rely on the police wanting to actually do their job and have a legal doctrine accordingly. But in our culture it seems that perhaps that is not necessarily a warranted assumption anymore.



  • I can’t remember exactly what all the pieces are. However, I believe its a combination of

    • cgroups: process isolation which is why you can see docker processes in ps/top/etc but you can’t for vms. I believe this is also what gets you the ability to run cross distro images since the isolation ensures the correct shared objects are loaded
    • network namespaces: how they handle generating the isolated network stack per process
    • some additional mount magic that I don’t know what its called.

    My understanding is that all of the neat properties of docker are actuall part of the kernel, docker (and podman and other container runtimes) are mostly just packing them together to achieve the desired properties of “containers”.