Docker is based on the Linux kernel, so when choosing a host machine, you must choose a system that supports Docker, namely:
Linux version 3.8 or higher.
Cgroups and namespaces must be available
As for distributions, they just install a variety of different packages in a Linux kernel, and the core is still Linux.
You can understand it as, there is a large open space (system hardware resources), which was transformed into a foundation (Linux kernel), the host system used part of the area to build some houses (host system), and you drove a RV to live in it. (Docker). As long as the foundation allows it (the Linux kernel allows it), you don't have to worry about how the house next to it is built. Of course, if the house collapses and the water, electricity and gas are shut down (the host computer crashes), your RV will also be affected.
Docker is based on the Linux kernel, so when choosing a host machine, you must choose a system that supports Docker, namely:
Linux version 3.8 or higher.
Cgroups and namespaces must be available
As for distributions, they just install a variety of different packages in a Linux kernel, and the core is still Linux.
You can understand it as, there is a large open space (system hardware resources), which was transformed into a foundation (Linux kernel), the host system used part of the area to build some houses (host system), and you drove a RV to live in it. (Docker). As long as the foundation allows it (the Linux kernel allows it), you don't have to worry about how the house next to it is built. Of course, if the house collapses and the water, electricity and gas are shut down (the host computer crashes), your RV will also be affected.
You can use both, there is no difference