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.  
  • post-author-pic

    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? )...

  • post-author-pic
    S M

    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. 

Looking For Team Training?

Learn More