Install New Relic Java agent for Docker

This document explains how to install the New Relic APM agent for Java applications on a Docker container.

Install Java agent on Docker container

To install the Java agent on a Docker host, you can add the agent jar to your container image (Swarm, ECS, AKS, EKS, OpenShift K8s, etc).

The requirements for a basic Java agent install are the same for installing an agent in a Docker container. The following two sets of instructions are just examples of how you might approach passing the necessary information to your container.

For more help

Recommendations for learning more: