github.com/zhouyu0/docker-note@v0.0.0-20190722021225-b8d3825084db/opts/hosts_unix.go (about)

     1  // +build !windows
     2  
     3  package opts // import "github.com/docker/docker/opts"
     4  
     5  import "fmt"
     6  
     7  // DefaultHost constant defines the default host string used by docker on other hosts than Windows
     8  var DefaultHost = fmt.Sprintf("unix://%s", DefaultUnixSocket)