mirror of
https://github.com/fosrl/newt.git
synced 2026-02-22 04:46:42 +00:00
Merge pull request #97 from Nemental/feat/docker-socket-protocol
feat: docker socket protocol
This commit is contained in:
2
main.go
2
main.go
@@ -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)")
|
||||
|
||||
Reference in New Issue
Block a user