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

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