dockerhub - Mount a Host Directory as a Data Volume in docker? -
when try mount host directory data volume in docker not mount directory docker container(image). when run
sudo docker run -t -i --name web -v /home/rponna/src/webapp:/opt/webapp ramnathreddy
it returns container id
7dcc03c397d56514015220a073c9e951478bf84aceb90b880bb93a5716079212
but when run container not show files in opt/webapp (its empty).
Comments
Post a Comment