Is there a way to expose Bluetooth to a container in Docker Swarm mode?
I see that people usually use --net=host
with docker but the Docker Compose's equivalent of network_mode: host
is ignored by swarm.
I've also seen suggestions to use local host network, like below:
networks:
host:
name: host
external: true
Unfortunately, I still need to access some other networks with database and Traefik's proxy and accessing host network requires not to use any other network or it ends up in an error
container sharing network namespace with another container or host cannot be connected to any other network
I wonder if there's any other way of exposing BT to the container? Just to mention, it's on Raspberry Pi 4, so BT isn't provided by a separate USB dongle