Even then you can mount a single file. You can set which folders should Docker Desktop mount and the Docker Engine inside the VM will be able to mount a single file into the container.
Thanks for the clarification I never used a bind on a single file with Docker Desktop, so I assumed it must be Docker Desktop, as the behavior @thoughtcrime described definitely is not true for Docker-CE.