Merge pull request #97 from Nemental/feat/docker-socket-protocol

feat: docker socket protocol
This commit is contained in:
Owen Schwartz
2025-08-30 16:53:21 -07:00
committed by GitHub
3 changed files with 64 additions and 11 deletions

View File

@@ -173,7 +173,7 @@ func main() {
flag.StringVar(&tlsPrivateKey, "tls-client-cert", "", "Path to client certificate used for mTLS")
}
if dockerSocket == "" {
flag.StringVar(&dockerSocket, "docker-socket", "", "Path to Docker socket (typically /var/run/docker.sock)")
flag.StringVar(&dockerSocket, "docker-socket", "", "Path or address to Docker socket (typically unix:///var/run/docker.sock)")
}
if pingIntervalStr == "" {
flag.StringVar(&pingIntervalStr, "ping-interval", "3s", "Interval for pinging the server (default 3s)")