boot2docker - Broadcasting UDP from within a Docker container -
i've started experimenting docker , have hit issue haven't been able resolve (please note, i'm using boot2docker).
my container has simple service listens on 8080/tcp , 5000/udp.
docker run -d -p 0.0.0.0:5000:5000/udp -p 0.0.0.0::8080 test/service
from macos terminal, can telnet 192.168.59.103:8080 , issue simple commands, tcp working fine.
next, try udp issuing following:
echo "hello" | socat - udp-datagram:192.168.59.103:5000,broadcast
via wireshark, can see datagram making service , service tries echo back, receives icmp response stating port invalid.
so seems i'm pretty close having working test case, i'm not sure need configure allow broadcast mac terminal initiated call.
any advice appreciated.
Comments
Post a Comment