Files
docker-cli/components/engine/docs/reference/api
Arnaud Porterie ff72d92410 Add builtin nodes discovery
Use `pkg/discovery` to provide nodes discovery between daemon instances.

The functionality is driven by two different command-line flags: the
experimental `--cluster-store` (previously `--kv-store`) and
`--cluster-advertise`. It can be used in two ways by interested
components:

1. Externally by calling the `/info` API and examining the cluster store
   field. The `pkg/discovery` package can then be used to hit the same
   endpoint and watch for appearing or disappearing nodes. That is the
   method that will for example be used by Swarm.
2. Internally by using the `Daemon.discoveryWatcher` instance. That is
   the method that will for example be used by libnetwork.

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
Upstream-commit: 7d193ef1f3b5fcd6aa55b7376116e2617be12e06
Component: engine
2015-09-25 14:52:09 -07:00
..
2015-06-15 13:19:38 -07:00
2015-06-15 13:19:38 -07:00
2015-06-15 13:19:38 -07:00
2015-06-15 13:19:38 -07:00
2015-06-15 13:19:38 -07:00
2015-06-15 13:19:38 -07:00
2015-06-15 13:19:38 -07:00
2015-06-15 13:19:38 -07:00
2015-06-15 13:19:38 -07:00
2015-06-15 13:19:38 -07:00
2015-06-15 13:19:38 -07:00
2015-06-15 13:19:38 -07:00
2015-06-15 13:19:38 -07:00
2015-08-11 23:13:14 -07:00
2015-06-15 13:19:38 -07:00

This directory holds the authoritative specifications of APIs defined and implemented by Docker. Currently this includes:

  • The remote API by which a docker node can be queried over HTTP
  • The registry API by which a docker node can download and upload images for storage and sharing
  • The index search API by which a docker node can search the public index for images to download
  • The docker.io OAuth and accounts API which 3rd party services can use to access account information