Windows 10 2004 with WSL: Mount mounted volume to container

Hello,

I’m running windows 10 2004 with wsl and docker.
In the wsl bash I mounted a unc path to /mnt/share and I’m able to access the files from the wsl bash.

Now I have a container with the following config in docker-compose file:
volumes:
- type: bind
source: /mnt/
target: /mnt/test

Inside of the container I’m able to see /mnt/test/share but the mounted folder is empty.

I wonder how to get that working so that I can access a mounted unc path on the wsl in a container.

Thanks