1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
Arnaud Porterie 7d193ef1f3 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>
2015-09-25 14:52:09 -07:00
..
events Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
execdriver Update CAP_ prefix for new spec format 2015-09-24 15:00:30 -07:00
graphdriver Try to resize data and metadata loopback file when initiating devicemapper 2015-09-24 09:31:00 +08:00
links
logger daemon: logger: error out on daemon start if invalid logger address 2015-09-20 16:20:25 +02:00
network
archive.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
archive_unix.go
archive_windows.go
attach.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
changes.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
commit.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
config.go Add builtin nodes discovery 2015-09-25 14:52:09 -07:00
config_experimental.go Add builtin nodes discovery 2015-09-25 14:52:09 -07:00
config_stub.go
config_unix.go
config_windows.go
container.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
container_unit_test.go
container_unix.go Docker daemon changes to use default gateway service 2015-09-25 11:00:42 -07:00
container_windows.go Fix windows cross compile with new netlink 2015-09-24 15:01:03 -07:00
create.go Merge pull request #16567 from calavera/context_per_request 2015-09-25 13:01:51 -07:00
create_unix.go Move api/errors/ to errors/ 2015-09-17 11:54:14 -07:00
create_windows.go
daemon.go Add builtin nodes discovery 2015-09-25 14:52:09 -07:00
daemon_aufs.go
daemon_btrfs.go
daemon_devicemapper.go
daemon_linux.go Improvements to the original sharing implementation. 2015-09-23 12:07:24 -04:00
daemon_linux_test.go Improvements to the original sharing implementation. 2015-09-23 12:07:24 -04:00
daemon_no_aufs.go
daemon_overlay.go
daemon_test.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
daemon_unix.go Add builtin nodes discovery 2015-09-25 14:52:09 -07:00
daemon_unix_test.go
daemon_unsupported.go
daemon_windows.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
daemon_zfs.go
debugtrap_unix.go
debugtrap_unsupported.go
debugtrap_windows.go
delete.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
discovery.go Add builtin nodes discovery 2015-09-25 14:52:09 -07:00
exec.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
exec_freebsd.go
exec_linux.go
exec_windows.go
export.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
history.go
image_delete.go Define a context per request. 2015-09-24 18:44:53 -04:00
info.go Add builtin nodes discovery 2015-09-25 14:52:09 -07:00
inspect.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
inspect_unix.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
inspect_windows.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
kill.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
list.go Define a context per request. 2015-09-24 18:44:53 -04:00
logdrivers_linux.go
logdrivers_windows.go
logs.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
monitor.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
pause.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
README.md
rename.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
resize.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
restart.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
start.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
state.go Move api/errors/ to errors/ 2015-09-17 11:54:14 -07:00
state_test.go
stats.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
stats_collector_unix.go Move api/errors/ to errors/ 2015-09-17 11:54:14 -07:00
stats_collector_windows.go
stats_freebsd.go
stats_linux.go
stats_windows.go
stop.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
top_unix.go Define a context per request. 2015-09-24 18:44:53 -04:00
top_windows.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
unpause.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
utils_freebsd.go
utils_linux.go
utils_nounix.go
utils_test.go
volumes.go Move volume ref counting store to a package. 2015-09-21 12:46:49 -04:00
volumes_linux_unit_test.go Move volume ref counting store to a package. 2015-09-21 12:46:49 -04:00
volumes_unit_test.go
volumes_unix.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
volumes_windows.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
wait.go Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00

This directory contains code pertaining to running containers and storing images

Code pertaining to running containers:

  • execdriver

Code pertaining to storing images:

  • graphdriver