2021-08-23 13:14:53 +00:00
|
|
|
//go:build !windows
|
2015-05-05 04:18:28 +00:00
|
|
|
// +build !windows
|
|
|
|
|
2018-02-05 21:05:59 +00:00
|
|
|
package opts // import "github.com/docker/docker/opts"
|
2015-05-05 04:18:28 +00:00
|
|
|
|
2020-10-31 15:44:21 +00:00
|
|
|
const (
|
|
|
|
// DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080
|
|
|
|
DefaultHTTPHost = "localhost"
|
2015-05-05 04:18:28 +00:00
|
|
|
|
2020-10-31 15:44:21 +00:00
|
|
|
// DefaultHost constant defines the default host string used by docker on other hosts than Windows
|
|
|
|
DefaultHost = "unix://" + DefaultUnixSocket
|
|
|
|
)
|