mirror of
https://github.com/open-webui/oikb.git
synced 2026-11-05 01:27:25 +00:00
[GH-ISSUE #116] Docker and .oikb.yaml #72
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/oikb#72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LizardWizardGB on GitHub (Sep 3, 2026).
Original GitHub issue: https://github.com/open-webui/oikb/issues/116
Hi there,
There seems to be some kind of issue with Docker.
docker-compose.yml
oikb:
image: ghcr.io/open-webui/oikb:latest
container_name: oikb
environment:
- OPEN_WEBUI_URL=http://open-webui:8080
- OPEN_WEBUI_API_KEY=${OPEN_WEBUI_API_KEY}
- OIKB_API_KEY=${OIKB_API_KEY}
- LOG_FORMAT=json
volumes:
- ./.oikb.yaml:/app/.oikb.yaml:ro
command: daemon
ports:
- "8080:8080"
depends_on:
- open-webui
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health/ready"]
interval: 30s
timeout: 5s
When I start the container it creates the folder ".oikb.yaml" on the host and in the logs of the oikb container it says:
oikb | IsADirectoryError: [Errno 21] Is a directory: '.oikb.yaml'
and the container will just keep restarting.
Why is Docker creating a folder instead of a yaml file?
@LizardWizardGB commented on GitHub (Sep 3, 2026):
If I create the .oikb.yaml file myself, on the host, I get the following error in 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 "/home/llama/.oikb.yaml" to rootfs at "/app/.oikb.yaml": mount src=/home/llama/.oikb.yaml, dst=/app/.oikb.yaml, dstFd=/proc/thread-self/fd/14, flags=MS_BIND|MS_REC: not a directory: 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
@LizardWizardGB commented on GitHub (Sep 3, 2026):
In another issue, someone said to change ./.oikb.yaml:/app/.oikb.yaml:ro to ./.oikb.yaml:/data/.oikb.yaml:ro.
When I do this and have created /home/llama/.oikb.yaml myself, it says:
oikb | No sync entries found. Create a .oikb.yaml file.
If I delete /home/llama/.oikb.yaml, then the container will once again create a folder instead, named .oikb.yaml and say:
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 "/home/llama/.oikb.yaml" to rootfs at "/data/.oikb.yaml": mount src=/home/llama/.oikb.yaml, dst=/data/.oikb.yaml, dstFd=/proc/thread-self/fd/14, flags=MS_BIND|MS_REC: not a directory: 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
@lucas-profoundvision commented on GitHub (Sep 17, 2026):
I had this problem and in a previous version it worked with data, but now I had to put it under app
This works for me now.
@LizardNerd commented on GitHub (Sep 29, 2026):
Where is your docker-compose.yaml file located?