2021-08-23 09:14:53 -04:00
|
|
|
//go:build !windows
|
2015-05-05 00:18:28 -04:00
|
|
|
// +build !windows
|
|
|
|
|
2018-02-05 16:05:59 -05:00
|
|
|
package opts // import "github.com/docker/docker/opts"
|
2015-05-05 00:18:28 -04:00
|
|
|
|
2020-10-31 11:44:21 -04: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 00:18:28 -04:00
|
|
|
|
2020-10-31 11:44:21 -04:00
|
|
|
// DefaultHost constant defines the default host string used by docker on other hosts than Windows
|
|
|
|
DefaultHost = "unix://" + DefaultUnixSocket
|
|
|
|
)
|