I have docker setup on my Windows system. The source code of the application is available at C:\Application\source
location.
I want this information to be available within the docker container so that it is easy to make code changes during development without rebuilding the image.
This is what I tried
docker run -d -P -i -t -p 8083:8080 --name html-app -v /c/Application/source:/usr/src html-app-img:vnode
The image html-app
is based on Node JS
Now when I do a docker exec -it html-app /bin/bash
, it doesn't show the contents of C:\Application\source
there.
I thought that should be available right?
In the Oracle Virtual box, I've shared the folder C:\Application
Is there anything else that I need to do to get this working?