The COM.TIBCO.hawk.microagent.DockerHostMA Microagent

The DockerHostMA microagent is available on each Docker host as a part of the Hawk agent. It monitors and manages all containers running on that particular Docker host. The microagent communicates with DockerHost using Docker client API.

Environment Variables

Environment Variable Description
DOCKER_HOST The DOCKER_HOST environment variable specifies URL for the Docker host.

The DOCKER_HOST URL can either be a UNIX socket or an TCP socket.

For using the Unix socket, mount the Docker Unix socket into the hkce_agent container as a volume: /var/run/docker.sock:/var/run/docker.sock. Then set DOCKER_HOST to the Unix socket URL: unix:///var/run/docker.sock

For using the TCP socket, enable the TCP socket for Docker. For details, see the dockerd command details at Docker Documentation. Then the DOCKER_HOST should be set to the HTTP endpoint of your TCP socket.

DOCKER_CERT_PATH The DOCKER_CERT_PATH environment variable specifies the location of client certificates for secure communication with the Docker host.

Methods