这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@itfranck
Copy link
Contributor

@itfranck itfranck commented Mar 8, 2024

Missing New-Item -ItemType for .env default to a folder when it should be a file (Docker won't run when that happen since a file is expected)

Pull Request Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • [X ] 📝 docs

Relevant Issues

Here is the error without specifying -ItemType File for the docker mount of the .env file.
This happen because .env get created as a folder on the local system.

docker: 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 "/run/desktop/mnt/host/e/Docker/anythingllm/.env" to rootfs at "/app/server/.env": mount /run/desktop/mnt/host/e/Docker/anythingllm/.env:/app/server/.env (via /proc/self/fd/9), flags: 0
x5000: 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.

Missing New-Item -ItemType for .env default to a folder when it should be a file (Docker won't run when that happen since a file is expected)
@timothycarambat timothycarambat merged commit c472598 into Mintplex-Labs:master Mar 9, 2024
@itfranck itfranck deleted the patch-1 branch March 9, 2024 01:25
cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 2025
…plex-Labs#879)

Update HOW_TO_USE_DOCKER.md

Missing New-Item -ItemType for .env default to a folder when it should be a file (Docker won't run when that happen since a file is expected)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants