Before you install the .NET Agent for Linux in a container environment, make sure you meet the requirements and complete the steps listed on this page. 

General Requirements

Verify that: 

  • The machine where the application runs can connect to the Controller. Proxies or firewalls on the network between the agent and Controller may require additional configuration.
  • The application environment meets the requirements on .NET Supported Environments

Ensure you have these applications and licenses:

  • .NET Core application running on Linux 
  • .NET license for each .NET Core application running on Linux. See Observe License Usage.

Controller Requirements

Confirm you meet the following Controller requirements:

  • Access to a compatible Controller. See Agent and Controller Tenant Compatibility for details. 

  • Confirm the connection settings to the Controller where your agent reports data:
    • SaaS Controllers: AppDynamics sent you the Controller host in your Welcome Email. Use port 443 for HTTPS or port 80 for HTTP.
    • On-premises Controller: you supplied the host and port at install time.

.NET Agent Environment Variables

Applications running in an Alpine Linux container require an additional mandatory environment variable, LD_LIBRARY_PATH, which can be defined in the Dockerfile as follows:

ENV LD_LIBRARY_PATH=/opt/appdynamics/dotnet
BASH

See the AppDynamicsConfig.json file example on .NET Agent for Linux Advanced Configuration Options for more details.