Hi. Is it possible to pass docker run arguments? Namely I need to add the Datadog agent to the same host as application like explained here.
We don’t actually run Docker containers, we extract your app into a VM with full root access. The DataDog instructions don’t apply exactly. You would need to run the agent inside the VM alongside your app by starting both from an ENTRYPOINT script. It might also work to run the agent as another app that all your other app clients connect to over the private network. The instructions for starting the agent on a linux distro are a good start: https://docs.datadoghq.com/agent/basic_agent_usage/amazonlinux/?tab=agentv6v7
You can use secrets or the
[env] section in the
fly.toml file of the app running the agent to configure env variables.