broadlinkmanager-docker icon indicating copy to clipboard operation
broadlinkmanager-docker copied to clipboard

Unable to find devices using Virtualbox and docker

Open clabnet opened this issue 4 years ago • 2 comments

Hi t0mer, using VirtualBox as Windows host, and Ubuntu 20.04 as guest,

I have successfully installed broadlink-manager as docker container : docker run -d -p 7020:7020 --name broadlinkman techblog/broadlinkmanager

then opening dashboard : http://ip-virtualbox:7020 on device list page "Searching For Devices" cannot reach any device.

Also using this command, the same result. docker run -d --network host --name broadlinkman techblog/broadlinkmanager

I know, you says: "Broadlink is using MAC Address to communicate with the device and MAC adress cannot be bridged between networks." and also "You must use host network mode because Broadlink Manager is working with MAC address to communicate with broadlink devices and MAC address is not working under bridge mode."

But how to solve this use case ?

Thank's

clabnet avatar Aug 18 '20 14:08 clabnet

@clabnet is your VM interface is in bridge mode ? (by default VirtualBox will NAT networks)

rabin-io avatar Sep 10 '20 07:09 rabin-io

Hi,

As above I cannot find devices running docker on windows 10. Manually adding doesn't work either.

Using this I can access via 7020:

container run -d --name bm1 --publish 7020:7020 bm:latest

but not when using:

container run -d --name bm1 --network host bm:latest

Any suggestions?

Mark

G4ZRT avatar Oct 25 '20 15:10 G4ZRT