DBus service not found; docker config may be missing `-v /run/dbus:/run/dbus:ro`

Hello Everybody

I recently upgraded my Raspberry Pi 3 B+ to “Debian GNU/Linux 12 (bookworm)” and reinstalled "Home Assistant Core 2025.4.2 (on Docker) ". Now I’m encountering an error that I didn’t have before on the same hardware and that I haven’t been able to resolve yet. Perhaps someone here has already seen it and can give me some suggestions.

Bluetooth isn’t working, and I’m seeing this error:

Failed setup, will retry: hci0 (B8:27:xx:xx:xx:xx): hci0 (B8:27:xx:xx:xx:xx):
DBus service not found; docker config may be missing -v /run/dbus:/run/dbus:ro: {ex}

My Docker configuration is as follows:

services:
 home-assistant:
    container_name: home-assistant
    image: ghcr.io/home-assistant/home-assistant:stable
    volumes:
    - "~/homeassistant/.homeassistant:/config"
	- "/run/dbus:/run/dbus:ro"
    environment:
    - TZ=Europe/Rome
    network_mode: host
    restart: always
	privileged: true

The Raspberry Pi’s internal Bluetooth antenna is working correctly.

$ hcitool dev
Devices:
    hci0 B8:27:xx:xx:xx:xx

From what I understand, the problem seems to be with the Docker configuration not correctly recognizing the Bluetooth device. If anyone has any suggestions, I thank you in advance :slight_smile:

All the best
Mauro

I have the same problem with Raspberry pi 5, version 2025.4.3.
The BTHome integration also not adding bluetooth devices to HA, says no devices in the network although there are several (e.g. shelly H&T, Shelly BLU Motion sensor).
Going into a rabbit hole as no info available for a fix so far.

I ran into the same probleem.

I fixed it this way:

  • Add the config to your docker config file under volumes:
    • “/run/dbus:/run/dbus:ro”

STOP the container: docker compose down
START the container, loading the new config: docker compose up -d

Just restarting the container won’t load the newly added line

Hope this helps.