netcat udp connection hang inside UDP conatiner
FROM ubuntu:latest RUN apk add --update jq ADD app /root CMD ["/bin/bash","/root/test.sh"] docker build -it x/abc docker run -it x/abc
!#/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 test.sh 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?