Why doesn't the docker volume in Windows Server show up when I run this command? -


i have folder setup on host machine @ c:\testvol. docker image not have folder @ c:\testvol.

when run:

docker run --rm -d --name {name} {imagename} --v c:\testvol:c:\testvol 

why doesn't volume show on container?

it appears in docker command need specify image name last parameter unless want pass arguments processed docker file.

also, --v should -v or --volume --v not recognized docker command.

the command want is:

docker run --rm -d --name {name} --volume c:\testvol:c:\testvol {imagename} 

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -