forked from ebhomengo/niki
1
0
Fork 0
niki/vendor/github.com/docker/cli/opts/hosts_unix.go

10 lines
327 B
Go
Raw Normal View History

2024-08-29 03:26:59 +00:00
//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"