Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error response from daemon: error while creating mount source path in windows #74

Open
wangyiran125 opened this issue Jan 3, 2020 · 0 comments

Comments

@wangyiran125
Copy link

wangyiran125 commented Jan 3, 2020

when i execute in windows
docker run -d -v /run/docker/plugins/:/run/docker/plugins/ -v /path/to/store/json/for/restart/:/var/lib/docker/plugin-data/ -v D:postgresdatavolume:D:postgresdatavolume cwspear/docker-local-persist-volume-plugin
report error

C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: invalid mode: postgresdatavolume.
See 'C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help'.

then change to execute

docker run -d  -v /run/docker/plugins/:/run/docker/plugins/    -v /path/to/store/json/for/restart/:/var/lib/docker/plugin-data/   -v //D/postgresdatavolume://D/postgresdatavolume     cwspear/docker-local-persist-volume-plugin

report error

b1a58c7e0bec0fa69bb7239f439eb16e77b4f5521a3cea1d1dcaf4c30d56f004
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: error while creating mount source path '/D/postgresdatavolume': mkdir /D: file exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant