Skip to main content
maharjan

1 year ago

How to make docker container send UDP/TCP messages out of host?

I would like to know if there is a way to make and verify docker container sending out UDP/TCP message out of the docker container itself and host machine.

Image of
1 year ago
General TCP/UDP messages? Some kind of API? What are you looking to accomplish and how would you like it to be visible (i.e. logged? port exposure? )...
Image of maharjan
maharjan
1 year ago
Hi Terrence, Thanks for your response. I wanted to test and confirm whether docker container sends outgoing message by default as it receives incoming message via the exposed port.I was able to capture UDP packet using tcpdump. I got my answer.  Thanks again.