It runs on top of a user-space virtual machine (xhyve, IIRC) that runs on Hypervisor.framework that IS running linux.
“Docker Engine” doesn’t but “Docker for Windows” provides several tools including a wrapper around Hyper-V. I’m sure “Docker for Mac” does something similar.
A year or two ago, it used to spin up Virtual Box.