3 ms·
Adding to what the others are saying about Docker running inside a VM on Mac: When it comes to running for example an Ubuntu docker container, it would share t
by timcambrant 3y ago
Adding to what the others are saying about Docker running inside a VM on Mac:
When it comes to running for example an Ubuntu docker container, it would share the Linux kernel running in the VM with other containers on the same host. The "Ubuntu" is the distribution packaged specifically for containers, meaning that the regular Ubuntu packaged kernel is not used and neither is the init system because the Linux distribution container images are meant to containerize single applications and traditionally do not need the concept of "services".
I'm sure it's possible to run systemd inside a container, just as some people run Cron and even X11 inside containers.