[英]docker-web-1 | python: can't open file '/code/manage.py': [Errno 2] No such file or directory
enter image description here在此处输入图片说明
when i run command docker-compose up and that time error comes, what to do anyone help me?当我运行命令 docker-compose up 并且那个时间出现错误时,有人帮我怎么办? docker-web-1 |
docker-web-1 | python: can't open file '/code/manage.py': [Errno 2] No such file or directory[enter image description here][2]
python: 无法打开文件 '/code/manage.py': [Errno 2] 没有那个文件或目录[在此处输入图像描述][2]
Just make sure that the path to the code file is present properly.只需确保代码文件的路径正确存在。 The issue here is that it's not able to find the file in the path that was provided.
这里的问题是它无法在提供的路径中找到文件。 If that looks correct, please make sure that you include proper permissions inorder for docker compose to build the file.
如果这看起来正确,请确保您包含适当的权限,以便 docker compose 构建文件。
您没有提供文件的正确路径,这可能是由于对特定操作系统使用了错误的斜杠,如果您共享屏幕截图会更清楚。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.