News for hackers. Stuff that matters.
Re:What Exactly is Docker? by sneak on Saturday February 01, 2020 @02:09PM (#22212516)
This article also has an image that shows containers running “on top of” docker; that’s not how any of this works. Docker is just the daemon that sets up the namespaces and runs the containers. It’s not some magical runtime, any more than “iptables” is. It just talks to the kernel.

I think this post is attempting to oversimplify, and is doing a bad job of teaching in the process.

Re:What Exactly is Docker? by kortex on Saturday February 01, 2020 @10:02PM (#22214872)
Running Docker containers is definitely on top of the Docker runtime. Maybe not from a PID parent point of view, but absolutely from an abstraction point of view.

Try doing anything hardware-network-topology relevant stuff without `network=host`, like running a ROS cluster with direct ethernet connections between hosts and cameras.

It's definitely "on top" in a way bare-metal isn't. Same way that a vm is "on top of" kvm even though the cpu supports hardware virtualization.

Nvidia-docker is another abstraction. It's a pass-through. It's not the same as bare-metal. Certainly feels the same 98% of the time, but in that 2% it is very much apparent there is a layer in between.