hosts_unix.go 390 B

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