mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-04 06:34:19 +01:00
Set security_opt to label=disable
Make sure user doesn't need to interfere with their SELinux config.
This commit is contained in:
parent
5dc305607e
commit
8219db857b
|
|
@ -12,12 +12,6 @@ NOTE:
|
|||
|
||||
> Note: In progress (TBD)
|
||||
|
||||
**Set allow container to use devices on SELinux**
|
||||
```
|
||||
$ sudo setsebool -P container_use_devices=true
|
||||
|
||||
```
|
||||
|
||||
**Download necessary models**
|
||||
```
|
||||
$ podman-compose --profile download build
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ x-base_service: &base_service
|
|||
volumes:
|
||||
- &v1 ./data:/data:Z
|
||||
- &v2 ./output:/output:Z
|
||||
# security:
|
||||
# - security-opt label=disable
|
||||
security_opt:
|
||||
- label=disable
|
||||
devices:
|
||||
- /dev/dri
|
||||
- /dev/kfd
|
||||
|
|
|
|||
Loading…
Reference in a new issue