# ha-dockermon

> HA Dockermon is a self-hosted, open-source Node.js REST API for Home Assistant to monitor and control Docker containers via HTTP endpoints.

- **Category:** Home Automation
- **Licence:** MIT
- **Latest version:** v0.0.13
- **Open source:** oss
- **Languages:** JavaScript
- **Platforms:** Docker, Docker Compose, Node.js
- **Tags:** REST API, Raspberry Pi, Home Automation, Home Assistant, Node.js, Docker, Hacktoberfest, Arm, Self Hosted, Container Monitoring, Docker container, Docker socket, Restful Api, Container Control

## Description

HA Dockermon is a lightweight Node.js service that exposes a RESTful HTTP API for querying and controlling Docker containers. It is designed primarily for integration with Home Assistant, allowing users to monitor container state, start/stop/pause/unpause/restart containers, execute arbitrary commands inside containers, and retrieve CPU/memory statistics. The service connects to the Docker daemon via the local Unix socket or optionally over HTTP. It can be deployed as a Docker container (with the socket mounted), via Docker Compose, or run directly with Node.js. Configuration is done through a YAML file (debug flag, HTTP port, optional basic auth, Docker connection type and path). The API uses optional HTTP Basic Authentication for access control. There is no web UI; it is a headless API intended for automation.

## Links

- [Homepage](https://github.com/philhawthorne/ha-dockermon)
- [Docker](philhawthorne/ha-dockermon)
- [GitHub Repository](https://github.com/philhawthorne/ha-dockermon)
- [Author Blog Post](https://philhawthorne.com/ha-dockermon-use-home-assistant-to-monitor-start-or-stop-docker-containers)
- [Docker Hub](https://hub.docker.com/r/philhawthorne/ha-dockermon)

---
Source: https://selfhost.directory/project/ha-dockermon