I am trying to mount my local directory to my web app volume running in docker. The file path in the inspect log is correct and when i run ‘docker-compose up --build’, the local directory is copied correctly but then will not change when I change any local files or files on the container.
My app is based off a tutorial that this works for but I am lost with what to do next.
docker inspect output:
"Mounts": [
{
"Type": "bind",
"Source": "/home/och/Documents/Software Projects/Carinfo/carinfo/src",
"Destination": "/src",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
The local directory is correct but it still will not update.
I am running:
Docker version 19.03.8
docker-compose version 1.25.4
xUbuntu on VM VirtualBox