Integration · Containers

Docker

Container metrics via the docker socket.

What gets collected

The agent mounts /var/run/docker.sock and reads the stats API. Container labels flow into metrics automatically.

Requirements

  • Docker Engine 20.10+
  • /var/run/docker.sock (read-only)
  • stats API

Key metrics

Collected out of the box. Every metric is available in dashboards, alerts and PromQL.

container.cpucontainer.memcontainer.net.iocontainer.restartscontainer.state

Setup steps

  1. 1docker run -v /var/run/docker.sock:/var/run/docker.sock unimoni/agent
  2. 2Labels added automatically: container_name, image, compose_project

After install

  • · Metrics show up on the dashboard within 15-30 seconds
  • · Integration labels flow into filters automatically
  • · Dashboard presets for common metrics are available in the editor
More in the docs
Docker
Open the guide →

Frequently asked questions

What does Unimoni collect from Docker?
Container metrics via the docker socket. Every metric lands in the same TSDB as the rest of your stack, so you can build dashboards and alerts across Docker and everything else in one place.
How long does it take to connect Docker?
Usually a few minutes: a handful of steps, no code changes. Metrics show up on your dashboards within 15–30 seconds of the first scrape.
What access does the Docker integration need?
Only the minimum listed under Requirements above — a scoped token or role, nothing more. Unimoni asks for the least privilege each system supports.
Is Docker monitoring available self-hosted and on the free plan?
Yes. Every integration works identically on Unimoni Cloud and self-hosted, and is included from the free tier up.

Similar integrations