github.com/cspotcode/docker-cli@v20.10.0-rc1.0.20201201121459-3faad7acc5b8+incompatible/opts/hosts_unix.go (about)

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