安装时报错。估计是nginx错误。 #2230

Closed
opened 2026-02-21 17:43:17 -05:00 by yindo · 0 comments
Owner

Originally created by @jememouse on GitHub (Apr 15, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a quesion, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.3.21

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

cd docker
docker compose up -d
cd: no such file or directory: docker
[+] Running 7/9
⠋ Network docker_default Created 1.0s
✔ Container docker-redis-1 Started 0.5s
✔ Container docker-weaviate-1 Started 0.4s
✔ Container docker-db-1 Started 0.3s
✔ Container docker-web-1 Started 0.2s
✔ Container docker-sandbox-1 Started 0.5s
✔ Container docker-worker-1 Started 0.7s
✔ Container docker-api-1 Started 0.6s
⠏ Container docker-nginx-1 Starting 0.9s
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/Users/jiewang/Dify/docker/nginx/nginx.conf" to rootfs at "/etc/nginx/nginx.conf": mount /Users/jiewang/Dify/docker/nginx/nginx.conf:/etc/nginx/nginx.conf (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @jememouse on GitHub (Apr 15, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a quesion, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### Dify version 0.3.21 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce cd docker docker compose up -d cd: no such file or directory: docker [+] Running 7/9 ⠋ Network docker_default Created 1.0s ✔ Container docker-redis-1 Started 0.5s ✔ Container docker-weaviate-1 Started 0.4s ✔ Container docker-db-1 Started 0.3s ✔ Container docker-web-1 Started 0.2s ✔ Container docker-sandbox-1 Started 0.5s ✔ Container docker-worker-1 Started 0.7s ✔ Container docker-api-1 Started 0.6s ⠏ Container docker-nginx-1 Starting 0.9s Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/Users/jiewang/Dify/docker/nginx/nginx.conf" to rootfs at "/etc/nginx/nginx.conf": mount /Users/jiewang/Dify/docker/nginx/nginx.conf:/etc/nginx/nginx.conf (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 17:43:17 -05:00
yindo closed this issue 2026-02-21 17:43:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#2230