Docker Community Forums

Share and learn in the Docker community.

Local folders mapped to container volumes are not synced


(Julianonunes) #1

I’ve created a container using Docker build/run and another using Docker-Compose, I tried to map both to a folder under Users directory, however the files created in the container are not displayed in the local folder. Why?

PS: My host is running Windows 10 with Docker Toolbox

(Nathan Le Claire) #2

Without more detail it’s impossible to say.

Are you bind-mounting the directories in using -v, like docker run -v /c/users/dir:/dir?

Generally, you can access C:\Users sub directories by mounting /c/users from the VM.