Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultAddr = "http://localhost"
DefaultAddr is a default docker host and port which communicating with Docker deamon
Variables ¶
View Source
var DefaultClient = &http.Client{ Transport: &http.Transport{ DialContext: func(_ context.Context, _, _ string) (net.Conn, error) { return net.Dial("unix", "/var/run/docker.sock") }, }, }
DefaultClient is a default client which uses unix protocol
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.