hosts_unix.go 371 B

1234567891011
  1. //go:build !windows
  2. package opts // import "github.com/docker/docker/opts"
  3. const (
  4. // DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080
  5. DefaultHTTPHost = "localhost"
  6. // DefaultHost constant defines the default host string used by docker on other hosts than Windows
  7. DefaultHost = "unix://" + DefaultUnixSocket
  8. )