Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 2.35 KB

README.md

File metadata and controls

53 lines (35 loc) · 2.35 KB

go-dockerclientx

Drone Travis GoDoc

Fork Info

Forked from github.com/fsouza/go-dockerclient.

Goals:

  • Keep up with the current Docker API.
  • Raw API interface (to have a way out in case the library can't keep up with the official Docker API or if you need more control over the calls).
  • Easy debugging and tracing.
  • Extensive client documentation and samples.
  • Docker Remote API documentation (because the official docs are often incomplete)

Overview

This package presents a client for the Docker remote API. It also provides support for the extensions in the Swarm API.

This package also provides support for docker's network API, which is a simple passthrough to the libnetwork remote API. Note that docker's network API is only available in docker 1.8 and above, and only enabled in docker if DOCKER_EXPERIMENTAL is defined during the docker build process.

For more details, check the remote API documentation.

Vendoring

If you are having issues with Go 1.5 and have GO15VENDOREXPERIMENT set with an application that has go-dockerclient vendored, please update your vendoring of go-dockerclient :) We recently moved the vendor directory to external so that go-dockerclient is compatible with this configuration. See 338 and 339 for details.

Examples

See EXAMPLES.md.

Developing

All development commands can be seen in the Makefile.

Commited code must pass:

Running make test will check all of these. If your editor does not automatically call gofmt, make fmt will format all go files in this repository.