Open lsalvadorini-c4w opened 7 years ago
UPDATE: I found a temporary workaround to the problem, although it's quite involved.
# Get the IP for the non-ambassador Docker container
sudo docker container ls --format "table {{.ID}}\t{{.Names}}\t{{.Ports}}" -a
# Inspect that container, find its IP
sudo docker inspect c28099211a37 | grep IPAddress
# Setup a socat proxy to redirect UDP traffic from 8125 on the host to 8125 on non-ambassador Graphite
sudo docker run -d --rm -p 8125:1234/udp verb/socat:alpine -d -d UDP4-LISTEN:1234,reuseaddr,fork UDP4:172.17.0.6:8125
I've installed the plugin and tryed to expose the port of StatsD to use it from a non containerized app on another host.
The ambassador container starts correctly but expose the 8125 port using TCP and not UDP, is it possibile to have StatsD port exposed as UDP?