Docker Community Forums

Share and learn in the Docker community.

Broadcast UDP to/from interface on host


(Scholvin) #1

Very new to Docker - please forgive a newbie question that may be ill-formed.

I’ve got a service that I want to run in a container which will need access to a physical interface/network on the host. (For OLA, if anyone is interested.) And I can’t seem to figure out which network configuration is right, even as a starting point. When I run with --network host I don’t see that interface/network. And in the default networking configuration, I’m not sure how I’d route to/from it, if that’s even possible.

To be more concrete: the host device en5 is on 192.168.0.114/24. The service needs to communicate via UDP broadcast on that interface (192.168.0.255) on port 6464, both read and write.

Hopefully this makes sense. Any help would be appreciated.