feat(DockerHost): Add DockerHost.ping() to check Docker daemon availability and document health-check usage

This commit is contained in:
2025-11-18 17:30:04 +00:00
parent b8a26bf3bd
commit 08af9fec14
4 changed files with 65 additions and 6 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2025-11-18 - 2.1.0 - feat(DockerHost)
Add DockerHost.ping() to check Docker daemon availability and document health-check usage
- Add DockerHost.ping() method that issues a GET to /_ping and throws an error if the response status is not 200
- Update README: show ping() in Quick Start, add health check examples (isDockerHealthy, waitForDocker) and mention Health Checks in Key Concepts
## 2025-11-18 - 2.0.0 - BREAKING CHANGE(DockerHost)
Rename DockerHost constructor option 'dockerSockPath' to 'socketPath' and update internal socket path handling