84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
我用docker run -it -v $PWD/website:/var/www/html/website gerbawn/nginx /bin/bash启动了一个docker容器,但是我无法在容器里查看挂载目录里的内容
docker run -it -v $PWD/website:/var/www/html/website gerbawn/nginx /bin/bash
我已经把目录权限改成777了,还是无法查看。我的环境:vmware中的centos7系统,容器使用的基础镜像也是centos7
光阴似箭催人老,日月如移越少年。
You can add rw to see
docker run -it -v $PWD/website:/var/www/html/website:rw gerbawn/nginx /bin/bash
You can add rw to see