Metadata-Version: 2.4
Name: dargslan-docker-health
Version: 1.0.0
Summary: Docker container health checker — monitor running containers, check resource usage, and detect unhealthy services
Author-email: Dargslan <info@dargslan.com>
License: MIT
Project-URL: Homepage, https://dargslan.com
Project-URL: Documentation, https://dargslan.com/blog
Project-URL: Repository, https://github.com/Dargslan/dargslan-docker-health
Project-URL: Free Cheat Sheets, https://dargslan.com/cheat-sheets
Project-URL: DevOps Books, https://dargslan.com/books?category=devops
Keywords: docker,containers,health-check,monitoring,devops,sysadmin
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Monitoring
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# dargslan-docker-health

**Docker Container Health Checker** — Monitor running containers, check resource usage, detect unhealthy services, and get container stats.

[![PyPI version](https://img.shields.io/pypi/v/dargslan-docker-health)](https://pypi.org/project/dargslan-docker-health/)

## Installation

```bash
pip install dargslan-docker-health
```

## Usage

```python
from dargslan_docker_health import DockerHealth

dh = DockerHealth()
status = dh.check_all()
for c in status:
    print(f"{c['name']}: {c['status']} (CPU: {c['cpu']}%, MEM: {c['memory_mb']}MB)")
```

```bash
dargslan-docker              # Status of all containers
dargslan-docker --json       # JSON output
dargslan-docker --unhealthy  # Show only unhealthy
```

## Resources

- [Docker & DevOps eBooks](https://dargslan.com/books)
- [Free Cheat Sheets](https://dargslan.com/cheat-sheets)

MIT — **[Dargslan](https://dargslan.com)**
