I am new in using Docker and I want to mount my project in a container to run it on a Virtual Host. First of all I installed the Docker Toolbox that works for Windows 10. I am using the Docker QuickStart Terminal as my CLI to work with. I tried to pull an image that I will use for my project and it was successfull.
Unfortunately when I try to mount my project I get this error.
C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: invalid mode: /var/www/app/. See 'C:\Program Files\Docker Toolbox\docker.exe run --help'.
And this is the command to mount the project on that specific image to create a container that I will run on.
docker run -d --name=cbpass_container -v C:\Users\me\Documents\cbpass\server:/var/www/app/ -P -p 5432:5432 -t -i
image/someimagename:dev
Is there any problem with my command? Appreciate if someone can help. Thanks in advance.