Docker directly works with Linux kernel-level libraries. In every Linux distribution, the Kernel is the same. Docker containers share the same kernel as the host kernel. Since all the distributions share the same Kernel, the container can run on any of these distributions.