【error】
運行容器提示:
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
【error】
運行容器提示:
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