# Lets the checker answer Docker monitors from this host's Docker API. Use it # only for checkers that may see this host: the socket is read-only, but it # still reveals everything running here. DOCKER_GID is the socket's group. services: checker: volumes: - /var/run/docker.sock:/var/run/docker.sock:ro group_add: - "${DOCKER_GID:?set DOCKER_GID to the group of /var/run/docker.sock}"