Referencing a Windows path for a volume in Docker

This post illustrates how to mount a host path into a container path: Sharing files between the container and the host? - #8 by meyay

But be prepared that mounting windows host paths into a container will be slow.
Docker Desktop for Windows runs as a WSL2 distribution, therefore is affected by how WSL2 accesses files on the host.

Incorrect.