# HA Dockermon

HA Dockermon is a lightweight Node.js service that exposes a REST API to check and control Docker containers, letting Home Assistant users create switches to start, stop, pause, unpause, and monitor containers in. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/413/ha-dockermon

## Description

HA Dockermon is a lightweight Node.js service that exposes a REST API to check and control Docker containers, letting Home Assistant users create switches to start, stop, pause, unpause, and monitor containers in automations.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

23/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (last commit 1060 days ago)
- Popular: 49 (289 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- Docker Hub: https://hub.docker.com/r/philhawthorne/ha-dockermon/
- GitHub: https://github.com/philhawthorne/ha-dockermon
- Documentation: https://gitlab.com/custom_components/hadockermon
- Unraid: https://ca.unraid.net/apps/ha-dockermon-03ratkj1pnoau7?q=ha-dockermon

## Common questions

### Should the Home Assistant custom component use an IP address to reach Docker on the same host?

No, it should point to the local docker.sock instance rather than an IP address.

### Can it be used with more than one Docker server in Home Assistant?

Yes, you can integrate ha-dockermon on various servers as REST sensors or switches in Home Assistant.

### Which Docker container actions can the service issue?

It can issue start, stop, pause, unpause, and restart commands.

### Can it stop non-critical containers when the host is using too many resources?

It can detect excessive RAM or CPU use on the host and shut down non-critical containers to improve performance.

---
Source: Our Local Host (https://ourlocalhost.com/app/413/ha-dockermon), the self-hosted and open-source app directory.
