Docker Community Forums

Share and learn in the Docker community.

Docker for desktop bind mounting


I’m quite newbie at docker.

I am running window 10 enterprise.

When i run the command: docker container run -d --name nginx -p 80:80 -v ${pwd}:/usr/share/nginx/html nginx And i go to the website, I am getting ‘403 Forbidden’.

This is essentially due to the fact that I’m not able to bind mounting the current directory.

Please could you provide me some lights on bind mounting in Docker for Desktop?

Thanks in advance,


I’m trying to do it using Home edition and the WS2 Linux kernel. There are no shared drive options for my docker desktop. Do you have shared drive options are yours under settings? My error just says can’t find, not the other.