Please correct me if there are any issues in my understanding of Docker and operating systems.
From what I understand, Docker uses the underlying kernel of the OS of the machine running the Docker engine. As a result you are not able to run Windows containers on a Linux machine as it requires Windows kernel. My question is how am I able to run CentOS, Ubuntu containers on my MacOS machine, given that MacOS does not use a Linux kernel even though they are both Unix based.