我正在从他们的网站上观看django教程;
https://docs.djangoproject.com/en/2.0/intro/tutorial02/
我在此步骤上遇到问题;
python manage.py migrate
我正在尝试在docker容器中开发应用程序,所以当我运行以下命令时;
docker-compose run web manage.py migrate
我收到此错误;
Starting docker-django-project_db_1 ... done
Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"manage.py\": executable file not found in $PATH": unknown
我试图将manage.py目录的路径添加到$ PATH,但是仍然出现相同的错误。