github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/opts/hosts_unix.go (about) 1 //go:build !windows 2 3 package opts 4 5 // defaultHost constant defines the default host string used by docker on other hosts than Windows 6 const defaultHost = "unix://" + defaultUnixSocket 7 8 // defaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080 9 const defaultHTTPHost = "localhost"