- Add API support for SCTP port mapping - Add canonical import path - Add `REMOVE` and `ORPHANED` to TaskState - Fix TLS from environment variables in client - Introduce NewClientWithOpts func to build custom client easily - Wrap response errors for container copy methodsto fix error detection using `IsErrNotFound` and `IsErrNotImplemented` for `ContainerStatPath`, `CopyFromContainer`, and `CopyToContainer` methods. - Produce errors when empty ids are passed into inspect calls Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
10 lines
301 B
Go
10 lines
301 B
Go
// +build linux freebsd openbsd darwin
|
|
|
|
package client // import "github.com/docker/docker/client"
|
|
|
|
// DefaultDockerHost defines os specific default if DOCKER_HOST is unset
|
|
const DefaultDockerHost = "unix:///var/run/docker.sock"
|
|
|
|
const defaultProto = "unix"
|
|
const defaultAddr = "/var/run/docker.sock"
|