it didn't work like that, my guess, because my VM is not running on my windows so it I can't connect through winscp using 'localhost' until I know my virtual machine's port.
so what I did was that I created a directory, one in docker container and one on my host machine and bound them together
now I can connect to my virtual machine through winscp and go in the nyz dir and have the same files as I have in the nyz dir in the container.
so what I did was that I created a directory, one in docker container and one on my host machine and bound them together
docker run --name=test -d -v /media/volume/nyz:/home/centos/nyz urgi/docker_vre_aio
now I can connect to my virtual machine through winscp and go in the nyz dir and have the same files as I have in the nyz dir in the container.