Replies: 2 comments 1 reply
-
|
A summary of the changes CodeRabbit can apply:
|
Beta Was this translation helpful? Give feedback.
-
|
Hello, #368 updated the containers to run with a limited user by default ( chmod 644 /home/gecko/docker/llama-swap/config/llama-swap.yamlAlternatively, the host-level UID/GID allocation can also be used to customize ownership. Note that rootless mode reads sudo chown gecko:1000001 /home/gecko/docker/llama-swap/config/llama-swap.yamlAdditional creative options are available as well. Like a host level shared group to which the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Important
If you have questions about llama-swap please post in the Q&A in Discussions. Use bug reports when you've found a defect and wish to discuss a fix.
Describe the bug
Running the ghcr.io/mostlygeek/llama-swap:vulkan image under Podman with a read-only bind mount for the config file fails at startup with:
Error loading config: open /app/config.yaml: permission deniedThe file is bind-mounted to /app/config.yaml with :ro,Z and the device /dev/dri/renderD128 is passed through. Container is non-privileged with all caps dropped. Expectation is that the app should be able to read the config; instead it cannot open it at all.
Expected behaviour
The container should start normally and read /app/config.yaml from the host bind mount.
Operating system and version
My Configuration
Beta Was this translation helpful? Give feedback.
All reactions