Docker installation

Docker installation#

This page explains how to install AMD Device Metrics Exporter using Docker.

System requirements#

  • ROCm 6.2.0 or later

  • Ubuntu 22.04 or later

  • Docker (or a Docker-compatible container runtime)

Installation#

The Device Metrics Exporter container is hosted on Docker Hub at rocm/device-metrics-exporter.

  • Start the container:

docker run -d \
  --device=/dev/dri \
  --device=/dev/kfd \
  -p 5000:5000 \
  --name device-metrics-exporter \
  rocm/device-metrics-exporter:v1.2.1
  • Confirm metrics are accessible:

curl http://localhost:5000/metrics

Custom metrics#

For information about custom metrics, see Standalone Container for instructions.