comfyui: use keep-groups instead of a named render group
Rootless podman cannot resolve the literal group name 'render' inside the container user namespace and fails the start with 'unable to find group render'. keep-groups preserves the launching user's real supplementary groups (dank is in render on this host), which is the canonical rootless ROCm device-access recipe.
This commit is contained in:
1 parent
14d99a8a17
commit
fc4c521fb4
1 file changed
+4
-2
@@ -30,9 +30,11 @@ services:
|
|||||||
devices:
|
devices:
|
||||||
- /dev/kfd:/dev/kfd
|
- /dev/kfd:/dev/kfd
|
||||||
- /dev/dri:/dev/dri
|
- /dev/dri:/dev/dri
|
||||||
|
# keep-groups preserves the launching user's real supplementary groups;
|
||||||
|
# a literal `render` entry fails at container start under rootless podman
|
||||||
|
# because the group name cannot be resolved inside the user namespace.
|
||||||
group_add:
|
group_add:
|
||||||
- video
|
- keep-groups
|
||||||
- render
|
|
||||||
volumes:
|
volumes:
|
||||||
- /home/dank/comfyui-data/models:/opt/ComfyUI/models
|
- /home/dank/comfyui-data/models:/opt/ComfyUI/models
|
||||||
- /home/dank/comfyui-data/input:/opt/ComfyUI/input
|
- /home/dank/comfyui-data/input:/opt/ComfyUI/input
|
||||||
|
|||||||
Reference in new issue
Block a user