Monitor Docker Trusted RegistryEstimated reading time: 1 minute
These are the docs for DTR version 2.4.1
To select a different version, use the selector below.
Docker Trusted Registry is a Dockerized application. To monitor it, you can use the same tools and techniques you’re already using to monitor other containerized applications running on your cluster. One way to monitor DTR is using the monitoring capabilities of Docker Universal Control Plane.
In your browser, log in to Docker Universal Control Plane (UCP), and navigate to the Stacks page. If you have DTR set up for high-availability, then all the DTR replicas are displayed.
To check the containers for the DTR replica, click the replica you want to inspect, click Inspect Resource, and choose Containers.
Now you can drill into each DTR container to see its logs and find the root cause of the problem.
DTR also exposes several endpoints you can use to assess if a DTR replica is healthy or not:
/_ping: Checks if the DTR replica is healthy, and returns a simple json response. This is useful for load balancing or other automated health check tasks.
/nginx_status: Returns the number of connections being handled by the NGINX front-end used by DTR.
/api/v0/meta/cluster_status: Returns extensive information about all DTR replicas.