运行容器提示权限问题
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
运行容器提示权限问题
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
转载于:https://www.cnblogs.com/damofeisha/p/10946650.html