[PR #879] [MERGED] HOW_TO_USE_DOCKER.md - Missing -ItemType File for .env creation #3519

Closed
opened 2026-02-22 18:33:57 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/879
Author: @itfranck
Created: 3/8/2024
Status: Merged
Merged: 3/8/2024
Merged by: @timothycarambat

Base: masterHead: patch-1


📝 Commits (1)

  • 5350d64 Update HOW_TO_USE_DOCKER.md

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 docker/HOW_TO_USE_DOCKER.md (+1 -1)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/879 **Author:** [@itfranck](https://github.com/itfranck) **Created:** 3/8/2024 **Status:** ✅ Merged **Merged:** 3/8/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`5350d64`](https://github.com/Mintplex-Labs/anything-llm/commit/5350d645d37680e55e0629628dd376e26f842322) Update HOW_TO_USE_DOCKER.md ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docker/HOW_TO_USE_DOCKER.md` (+1 -1) </details> ### 📄 Description 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 <!-- For change type, change [ ] to [x]. --> - [ ] ✨ 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:33:57 -05:00
yindo closed this issue 2026-02-22 18:33:57 -05:00
yindo changed title from [PR #879] HOW_TO_USE_DOCKER.md - Missing -ItemType File for .env creation to [PR #879] [MERGED] HOW_TO_USE_DOCKER.md - Missing -ItemType File for .env creation 2026-06-05 15:13:50 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3519