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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -