News for hackers. Stuff that matters.
Re:Microsoft's Linux Kernel by robrtsql on Friday June 28, 2019 @10:57PM (#20310526)
I think the OP is probably referring to the fact that running Docker on Windows and macOS is accomplished by running a Linux VM which the Docker containers run in. Not that Docker containers are VMs.
Re:Microsoft's Linux Kernel by giancarlostoro on Saturday June 29, 2019 @05:28PM (#20314892)
This is what I meant by this. Most people I know using Docker are not on Linux but on Mac and Windows.
Re:Microsoft's Linux Kernel by fortran77 on Saturday June 29, 2019 @12:00AM (#20310740)
I didn't know that macOS users don't run Docker natively! On Windows, it's native:

https://docs.docker.com/docker-for-windows/

Re:Microsoft's Linux Kernel by tsimionescu on Saturday June 29, 2019 @02:21AM (#20311073)
In practice, the vast majority of docker containers are Linux containers, so most uses of docker for windows need a Linux kernel to do anything useful.

As such, the 'native' docker for windows you linked is actually managing a Linux VM (HyperV or VBox) fot you; the docker server runs on that VM, and the native docker windows binary simply connects to that server.

They also do a lot of tricks to connect networking and file shares with that VM. The file shares part is almost completely non-working in my experience, with scary comments in the bugs like 'doesn't work if your windows password contains certain characters' (it sets up CIFS shares between the Linux VM and some parts of your Windows file system).

So, not sure what docker for Mac looks like, but Docker For Windows is only 'native' in a very hand-wavy sort of way, unless (maybe) if you're running Windows docker containers.

Re:Microsoft's Linux Kernel by merb on Saturday June 29, 2019 @06:06AM (#20311730)
docker for mac uses xhyve/hyperkit and has a really really slow i/o.
Re:Microsoft's Linux Kernel by mtzet on Saturday June 29, 2019 @02:42AM (#20311142)
Docker desktop runs a Hyper-V VM. Prior to that, Docker used a Virtualbox VM on Windows. The current plan seems to be to integrate with WSL2 once that ships [1].

[1] https://engineering.docker.com/2019/06/docker-hearts-wsl-2/

Re:Microsoft's Linux Kernel by pritambaral on Saturday June 29, 2019 @02:22AM (#20311074)
That cannot run Linux containers, only Windows containers, no?
Re:Microsoft's Linux Kernel by fortran77 on Saturday June 29, 2019 @11:21AM (#20313068)
Yes. If you're running Windows containers you can be "native" docker.

However, we use VMs managed with Salt for our Centos VMs. I never saw the need for Docker. Maybe if I did "web" stuff.

Re:Microsoft's Linux Kernel by rleigh on Saturday June 29, 2019 @08:38AM (#20312247)
You can switch between one or the other. Oddly, it can't run both at the same time.