summaryrefslogtreecommitdiff
path: root/opts/hosts_unix.go
blob: 4b1c8512e238aef5b20d73ac32e48eb8b9005883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//go:build !windows
// +build !windows

package opts // import "github.com/docker/docker/opts"

const (
	// DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080
	DefaultHTTPHost = "localhost"

	// DefaultHost constant defines the default host string used by docker on other hosts than Windows
	DefaultHost = "unix://" + DefaultUnixSocket
)