Skip to content

Containers

Docker containers and their usage on every host the agent runs on.

In the console: Console → Observe → Infrastructure → ⋮ → Containers

All guides

Every Docker container on hosts running the agent, with per-container CPU and memory, image and state. No extra install: the agent reads the Docker socket.

Why use it

  • Several containers share a host and you need to know which one uses the CPU or memory.

How it works

  1. 1The host agent reads the Docker socket and reports each container’s state and usage alongside the host.

What you get

  • Container inventory per host.
  • CPU and memory per container.
  • A link from a container to its host and logs.

Set it up

Get Started shows these commands with your key already filled in — copying from there is the quickest path. Here, <your-key> marks where it goes.

  1. 1

    Nothing extra

    Install the host agent. The docker collector is on by default (collectors.docker in agent.yaml).

Uninstall / remove

  1. 1

    Turn it off

    Set collectors.docker.enabled: false in /etc/appstatus/agent.yaml and restart the agent, or remove the agent.

Troubleshooting

The problems seen most, each with what to run. Still stuck? See the general Troubleshooting guide.

No containers listed

The agent cannot read the Docker socket. With a package install, check collectors.docker.socket in agent.yaml (default /var/run/docker.sock). With the Docker image, add -v /var/run/docker.sock:/var/run/docker.sock:ro.

Something here does not match what you see in the console? Open Help → Support in AppStatus or write to support@appstatus.io with the page and what you ran.