docker desktop windows - container doesn't see files in mounted folder

Viewed 18
docker deskto (windows) - v20.10.17
WSL 2 backend

running a container in this way

docker run -p 4000:4000 -p 3000:3000 \
  -v ${PWD}:/cube/conf \
  -e CUBEJS_DEV_MODE=true \
  cubejs/cube

on windows in the current folder i see some folders that comes from container (so i suppose the mountig folder is working)

then, if i create a new file from windows (in the mounted folder) i can't see that file in the container the same appens if i create a file in the container (touch) i can't see that file in windows?

my docker version is the last and i've enabled WSL2 integration

this command in windows wsl --list show me these linux distributions (with this name) that i suppose they have been downloaded when i installed doker

docker-desktop-data (valore predefinito)
docker-desktop
0 Answers
Related