That’s can’t be right.
It should work like this (when the command is exexcuted in a powershell terminal in windows):
docker run -d -it -v X:\projects\docker-test:/app/data test
Please keep in mind that by mounting the host folder X:\projects\docker-test into the container folder /app/data, the host folder’s content eclipses the original content of the container folder. Whatever exists in the host folder will be visible inside the container folder. Whatever is written inside the container into the container folder /app/data will be available in the host folder X:\projects\docker-test