2022-03-26 13:34:10 -04:00
|
|
|
//go:build !windows
|
2015-05-05 00:18:28 -04:00
|
|
|
|
|
|
|
package opts
|
|
|
|
|
2020-04-10 08:23:58 -04:00
|
|
|
// defaultHost constant defines the default host string used by docker on other hosts than Windows
|
|
|
|
const defaultHost = "unix://" + defaultUnixSocket
|
2015-05-05 00:18:28 -04:00
|
|
|
|
2020-04-10 08:23:58 -04:00
|
|
|
// defaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080
|
|
|
|
const defaultHTTPHost = "localhost"
|