mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Add Docker Compose version of dbus socket details (#24348)
This commit is contained in:
parent
c0151b3527
commit
f394ccd4ab
@ -50,6 +50,13 @@ For Bluetooth to function on Linux systems:
|
|||||||
|
|
||||||
For most systems, the Dbus socket is in `/run/dbus`. The socket must be available in the container for Home Assistant to be able to connect to Dbus and access the Bluetooth adapter. When starting with `docker run`, this can be accomplished by adding `-v /run/dbus:/run/dbus:ro` to the command. If the Dbus socket is in `/var/run/dbus` on the host system, use `-v /var/run/dbus:/run/dbus:ro` instead.
|
For most systems, the Dbus socket is in `/run/dbus`. The socket must be available in the container for Home Assistant to be able to connect to Dbus and access the Bluetooth adapter. When starting with `docker run`, this can be accomplished by adding `-v /run/dbus:/run/dbus:ro` to the command. If the Dbus socket is in `/var/run/dbus` on the host system, use `-v /var/run/dbus:/run/dbus:ro` instead.
|
||||||
|
|
||||||
|
If you are using Docker Compose, add something like the following (adjust as necessary) to your `volumes` section:
|
||||||
|
|
||||||
|
```dockerfile
|
||||||
|
volumes:
|
||||||
|
- /run/dbus:/run/dbus:ro
|
||||||
|
```
|
||||||
|
|
||||||
{% enddetails %}
|
{% enddetails %}
|
||||||
|
|
||||||
{% details Switching from dbus-daemon to dbus-broker %}
|
{% details Switching from dbus-daemon to dbus-broker %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user