-
Notifications
You must be signed in to change notification settings - Fork 426
Closed
Labels
bugSomething isn't workingSomething isn't workingcontainersRelated to running containers with devenvRelated to running containers with devenv
Description
Describe the bug
I produce a container under devenv 1.8 (using devenv container build/copy) and start it up:
$ docker run \
-p 8000:8000 \
-p 9000:9000 \
-e OPENAI_API_KEY="$OPENAI_API_KEY" \
-e CONTAINER_IS_RUNNING=1 \
--rm --name temp-rag -it ghcr.io/enfold/afsoc-rag:latest "$@"
Running tasks devenv:enterShell
Succeeded devenv:python:uv 234ms
Succeeded devenv:enterShell 24ms
Succeeded rag:pythonbuild 18503ms
3 Succeeded 18.74s
inside procfilescript
[nginx ] 2025/08/10 22:11:13 [warn] 325#325: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size
[nginx ] nginx: [warn] could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size
[nginx ] 2025/08/10 22:11:13 [notice] 325#325: using the "epoll" event method
[nginx ] 2025/08/10 22:11:13 [notice] 325#325: nginx/1.28.0
[nginx ] 2025/08/10 22:11:13 [notice] 325#325: built by gcc 14.2.1 20250322 (GCC)
[nginx ] 2025/08/10 22:11:13 [notice] 325#325: OS: Linux 6.12.30
[nginx ] 2025/08/10 22:11:13 [notice] 325#325: getrlimit(RLIMIT_NOFILE): 1024:524288
[nginx ] 2025/08/10 22:11:13 [notice] 325#325: start worker processes
[nginx ] 2025/08/10 22:11:13 [notice] 325#325: start worker process 326
[ragserver ] WARNING: Current configuration will not reload as not all conditions are met, please refer to documentation.
...
When I produce the same container using the same devenv setup under 1.8.1:
$ docker run \
-p 8000:8000 \
-p 9000:9000 \
-e OPENAI_API_KEY="$OPENAI_API_KEY" \
-e CONTAINER_IS_RUNNING=1 \
--rm --name temp-rag -it ghcr.io/enfold/afsoc-rag:latest "$@"
mkdir: cannot create directory '/home': Permission denied
ln: failed to create symbolic link '/home/runner/work/afsoc-rag/afsoc-rag/.devenv/profile': No such file or directory
mkdir: cannot create directory '/run': Permission denied
ln: failed to create symbolic link '/home/runner/work/afsoc-rag/afsoc-rag/.devenv/run': No such file or directory
mkdir: cannot create directory '/home': Permission denied
Error: IoError(Custom { kind: Other, error: "Failed to initialize task cache: Database error: error returned from database: (code: 14) unable to open database file" })
mkdir: cannot create directory '/home': Permission denied
inside procfilescript
mkdir: cannot create directory '/home': Permission denied
Failed to create log directory: /run/user/1001 - mkdir /run: permission denied
To reproduce
I'm working on a repro using GH actions but it may be the case that this is any container.
Version
1.8.1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcontainersRelated to running containers with devenvRelated to running containers with devenv