I work in debian 9.6.1 from under root I create the project
docker run -v `pwd`:/data --rm -it mydjango django-admin.py startproject mynewproject all OK! but at the start
docker run -v `pwd`:/data --rm -it mydjango ./mynewproject manage.py runserver get out the error permishen
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"./mynewproject\": permission denied": unknown. ERRO[0000] error waiting for container: context canceled How to be, I'm working from under the root !? Dockerfile file
FROM python:3 RUN pip install django RUN mkdir /data RUN chmod +x -R /data WORKDIR /data
python manage.py runserver- floydyadocker run -vpwd:/data --rm -it mydjango python mynewproject/manage.py runserverand so? What are you generally trying to do./mynewprojectthis? Go to the directory and execute manage.py from there? - floydya