运行容器提示权限问题

docker run  -v $PWD/myapp:/usr/src/myapp  -w /usr/src/myapp python:3.5 python helloworld.pyhello

python: can't open file 'helloworld.py': [Errno 13] Permission denied

关闭selinux可解决:setenforce 0

05-11 15:19