Unable to connect to host mode container from bridged mode container

#1

I have a host mode container leveraging bluetooth and hosting a websocket to communicate status.

I also have another container that I’d prefer to keep in bridged mode to keep it isolated.

I’m able to connect to the bluetooth “host mode” container using it’s internal IP address since it still has an IP Address from the docker0 bridge, but I can’t connect by simply connecting to ws://bluetooth

What am I missing here? Is there any way to connect directly between containers?

#4

I’m assuming for the time being that the host network is available to all containers through the ip address 172.18.0.1 but is there a hostname that we could use in place of this? or is this the preferred method?