#HA running in docker container gives missing required permissions error

1 messages · Page 1 of 1 (latest)

graceful ice
#

Trying to get HA to run as a docker container and use my Sonoff zigbee USB dongle but struggle with the following error message in the logs:
homeassistant | 2025-09-19 11:06:19.600 ERROR (MainThread) [habluetooth.manager] Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it

Docker compose config: https://pastebin.com/U3fAtqut
Bluez are installed on the host system
host system runing Ubuntu 22.04

Any ideas?

silent tulip
#

A couple of things:

  1. Based on your docker compose file, you're not running the official HA image, so we can't really help you here. You should switch to the official HA image if you want help here.
  2. Zigbee isn't Bluetooth, so you're not going to be able to use the Zigbee adapter with the Bluetooth integration. Are you trying to set up a Zigbee network, or are you trying to set up the Bluetooth integration?
#

Also, if you make any changes to an entry in your docker compose file, you need to re-create the container for them to apply