DockerCLI/opts/hosts_unix.go

10 lines
327 B
Go
Raw Permalink Normal View History

//go:build !windows
package opts
// defaultHost constant defines the default host string used by docker on other hosts than Windows
const defaultHost = "unix://" + defaultUnixSocket
// defaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080
const defaultHTTPHost = "localhost"