I cant seem to mount a volume. Anyone know what I am doing wrong? My docker command is below. Its a windows nano running on windows 10 pc\docker.

docker run -p 2525:2525 -p 2020:25 -p 65500-65515:65500-65515 -v C:\OnMyPC:c:\Installs\Spigot -it coleman/Container

Gives me this error

Error response from daemon: invalid volume specification: 'C:\OnMyPC:c:\Installs\Spigot:'.
See 'docker run --help'.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.