2022-03-26 18:34:10 +01:00
|
|
|
//go:build !windows
|
2015-05-05 00:18:28 -04:00
|
|
|
|
|
|
|
package opts
|
|
|
|
|
2020-04-10 14:23:58 +02: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 14:23:58 +02:00
|
|
|
// defaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080
|
|
|
|
const defaultHTTPHost = "localhost"
|