Add Docker Host
addDockerHostAdd a Docker host to Uptime Kuma by specifying a Unix socket or TCP URL to monitor container status and uptime.
Instructions
Creates a new docker daemon connection. For a unix socket use dockerType="socket" and dockerDaemon="/var/run/docker.sock". For a TCP proxy (e.g. tecnativa/docker-socket-proxy) use dockerType="tcp" and dockerDaemon="http://host:2375". Consider calling testDockerHost first to verify reachability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for this docker host | |
| dockerType | Yes | "socket" for a unix socket path, "tcp" for an HTTP/HTTPS URL | |
| dockerDaemon | Yes | Unix socket path (e.g. /var/run/docker.sock) when dockerType=socket, or TCP URL (e.g. http://docker-proxy:2375) when dockerType=tcp |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | Yes | ||
| msg | No |