github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/engine/opts/hosts_unix.go (about)

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