Bot Updating Documentation

pull/175/head
LinuxServer-CI 2023-12-29 14:54:52 +00:00
rodzic 1bfaaef0a9
commit b02d7b00e9
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -53,11 +53,11 @@ order for this to work you must create the container with `--net=host`.
### Accessing Bluetooth Device
In order to provide HA with access to the host's Bluetooth device, one needs to install BlueZ on the host, add the capabilities `NET_ADMIN` and `NET_RAW` to the container, and map dbus as shown in the below examples.
In order to provide HA with access to the host's Bluetooth device, one needs to install BlueZ on the host, add the capabilities `NET_ADMIN` and `NET_RAW` to the container, and map dbus as a volume as shown in the below examples.
#### Docker Cli:
```bash
--cap-add=NET_ADMIN --cap-add=NET_RAW --device /var/run/dbus:/var/run/dbus:ro
--cap-add=NET_ADMIN --cap-add=NET_RAW -v /var/run/dbus:/var/run/dbus:ro
```
#### Docker Compose:
@ -65,7 +65,7 @@ In order to provide HA with access to the host's Bluetooth device, one needs to
cap_add:
- NET_ADMIN
- NET_RAW
devices:
volumes:
- /var/run/dbus:/var/run/dbus:ro
```