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

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -