netcat udp connection hang inside UDP conatiner


FROM ubuntu:latest
RUN apk add --update jq 
ADD  app /root
CMD ["/bin/bash","/root/"]

docker build -it x/abc
docker run -it x/abc

  • Generic Python Object Serialization for Docker Integration
  • How to set no-ack for RabbitMQ with docker?
  • How to automate Grunt on a Docker image
  • Suggestions for carrying out automation using docker
  • Copy all project. Docker file command
  • Connection Failing to Docker Container
  • !#/usr/bin/bash
    echo "something"
    echo "value"|nc -u -w0 server 8125

    nc -u -w0 server 8125 command works on my local workstation finer and data get sent to server but when run inside a container then nc command just hang and doesn’t send data to server.

    Any idea what could be causing nc to hang and why it doesn’t timing out?

  • custom logs in docker
  • Can I run a .Net web application on Dockers for windows?
  • Emulating `docker run` using the golang docker API
  • How to avoid recreation of a linked container with docker-compose?
  • Running Nightwatch test inside docker - Selenium server doesn't start
  • Docker Run error with ENTRYPOINT
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.