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 -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -