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
Post a Comment