-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document Container Networking using User-Defined Networks #172
Comments
+1 to updating the documentation for getting statsd working without using link, as you can't use link at all for docker swarm afaik and the localhost approach also likely won't work out of the box for people using docker swarm. took me a while to figure out how to get things working (although I was also kind of new to docker swarm and overlay networks.) I'll leave this example config here that I got working but not sure if this is the best way.
|
Thanks for the example, @tylermann! I'm curious about some aspects of this configuration:
Is this really necessary if the container is run globally? I assumed running it globally meant all containers could talk to their colocated datadog container.
Datadog exposes two ports by default: Lastly, if I have container "DDClientA" and it's trying to send metrics to |
As per Docker's pages on using --link and the new user-defined networks, using links is deprecated and may be removed in the future.
It sounds like user-defined networks have a limitation that linking for dd-agent\dogstatsd relies on:
Since the alternative sounds complicated, an officially vetted list of instructions on how to properly expose dogstatsd\dd-agent to other containers without using the legacy
--link
option, would be useful!The text was updated successfully, but these errors were encountered: