With docker run is possible to mount a container on a specific local directory. For example lets say that I have the directory "test" and I want to mount the container's working dir to this folder, I would say via docker cli:
docker run -v $(pwd):/usr/src/app -d ubuntu
So that if I chech the contents of usr/src/app I would found the exact same contents of my folder "test".
With docker run is possible to mount a container on a specific local directory. For example lets say that I have the directory "test" and I want to mount the container's working dir to this folder, I would say via docker cli:
So that if I chech the contents of usr/src/app I would found the exact same contents of my folder "test".
Is it possible to do this with dockerode?