windows docker mount shared directory
In docker for windows:
- Mount d:/logs directory into ubuntu contain as /data
docker run -it -v d:/Logs:/data ubuntu /bin/sh
or
docker run -it -v d:/Logs:/data ubuntu bash
- Mount directory to nginx
docker run –name blogserver -v D:/Dropbox/Dropbox/blog/personal_blog/suwenjiang.github.com:/usr/share/nginx/html:ro -d -p 7777:80 nginx