Test Docker Host
testDockerHostTest connectivity to a Docker daemon to verify it works before saving as a host. Returns container count on success, preventing broken configurations.
Instructions
Tests connectivity to a docker daemon without persisting it. On success the message includes the number of containers. Use this before addDockerHost to avoid saving a broken configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name (used only in the test request) | |
| dockerType | Yes | "socket" for a unix socket path, "tcp" for an HTTP/HTTPS URL | |
| dockerDaemon | Yes | Unix socket path or TCP URL to probe |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| msg | No |