...

Source file src/github.com/docker/cli/opts/hosts_unix.go

Documentation: github.com/docker/cli/opts

     1  //go: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"
    10  

View as plain text