docs/daemon
Aaron Lehmann 572ce80230 Improved push and pull with upload manager and download manager
This commit adds a transfer manager which deduplicates and schedules
transfers, and also an upload manager and download manager that build on
top of the transfer manager to provide high-level interfaces for uploads
and downloads. The push and pull code is modified to use these building
blocks.

Some benefits of the changes:

- Simplification of push/pull code
- Pushes can upload layers concurrently
- Failed downloads and uploads are retried after backoff delays
- Cancellation is supported, but individual transfers will only be
  cancelled if all pushes or pulls using them are cancelled.
- The distribution code is decoupled from Docker Engine packages and API
  conventions (i.e. streamformatter), which will make it easier to split
  out.

This commit also includes unit tests for the new distribution/xfer
package. The tests cover 87.8% of the statements in the package.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-12-09 19:13:35 -08:00
..
daemonbuilder Improved push and pull with upload manager and download manager 2015-12-09 19:13:35 -08:00
events Add PubSub topics. 2015-12-02 16:43:49 -05:00
exec Move exec store to its own package inside the daemon. 2015-11-20 17:40:16 -05:00
execdriver Merge pull request #17989 from jfrazelle/initial-seccomp-support 2015-12-05 08:33:58 -08:00
graphdriver Fix overlay and user namespace permissions 2015-12-08 14:28:28 -05:00
links Cleanup links top level pkg 2015-07-29 23:39:18 +02:00
logger prevent journald from being built on ARM 2015-11-21 15:17:31 +01:00
network Modify IPAMConfig structure json tags 2015-10-30 12:57:49 -07:00
README.md Docs: remove networkdriver from README.md in daemon 2015-08-22 10:09:07 +08:00
archive.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
archive_unix.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
archive_windows.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
attach.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
changes.go Remove unnecessary `Container.changes` function. 2015-11-04 12:27:48 -05:00
commit.go move configs structs to remove dependency on daemon 2015-12-07 09:03:25 -08:00
config.go remove the unused DefaultNetwork member from daemon.Config 2015-11-10 09:51:15 +08:00
config_experimental.go Add user namespace enable flag `--userns-remap` in experimental build 2015-10-09 20:50:05 -04:00
config_stub.go Add user namespace enable flag `--userns-remap` in experimental build 2015-10-09 20:50:05 -04:00
config_unix.go Remove LXC support. 2015-11-05 17:09:57 -05:00
config_windows.go Change all docker -d to docker daemon 2015-08-10 20:48:08 +08:00
container_operations.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
container_operations_unix.go Better error message for network connect 2015-12-07 17:39:13 +08:00
container_operations_windows.go don't try to use default route MTU as bridge MTU 2015-12-07 17:32:51 -05:00
create.go move configs structs to remove dependency on daemon 2015-12-07 09:03:25 -08:00
create_unix.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
create_windows.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
daemon.go Improved push and pull with upload manager and download manager 2015-12-09 19:13:35 -08:00
daemon_aufs.go Move graph.SetupInitLayer to daemon package where it is used 2015-06-16 16:50:56 -07:00
daemon_btrfs.go golint fixes for daemon/ package 2015-08-27 22:07:42 -07:00
daemon_devicemapper.go golint fixes for daemon/ package 2015-08-27 22:07:42 -07:00
daemon_experimental.go daemon: remove private func config() 2015-12-03 11:46:53 +01:00
daemon_linux.go Force IPC mount to unmount on daemon shutdown/init 2015-10-30 15:41:48 -04:00
daemon_linux_test.go Do not try to cleanupMounts if daemon.repository is empty 2015-09-29 11:30:18 +08:00
daemon_no_aufs.go make docker compile on freebsd 2015-07-29 21:25:56 +03:00
daemon_overlay.go golint fixes for daemon/ package 2015-08-27 22:07:42 -07:00
daemon_stub.go Add user namespace enable flag `--userns-remap` in experimental build 2015-10-09 20:50:05 -04:00
daemon_test.go inital seccomp support 2015-12-03 16:30:44 -08:00
daemon_unix.go Check minimum kernel memory limit to be 4M 2015-12-09 14:26:41 +08:00
daemon_unix_test.go runconfig: split resources into a struct 2015-11-20 19:40:01 +01:00
daemon_unsupported.go Add platformSupported flag to enable daemon mode by platform. 2015-08-07 09:45:24 -07:00
daemon_windows.go Add support for blkio read/write bps device 2015-12-04 09:26:03 +08:00
daemon_zfs.go golint fixes for daemon/ package 2015-08-27 22:07:42 -07:00
debugtrap_unix.go Windows: Win32 event for sigusr1 linux equivalence 2015-07-06 18:58:53 -07:00
debugtrap_unsupported.go Windows: Win32 event for sigusr1 linux equivalence 2015-07-06 18:58:53 -07:00
debugtrap_windows.go Windows: Win32 event for sigusr1 linux equivalence 2015-07-06 18:58:53 -07:00
delete.go move configs structs to remove dependency on daemon 2015-12-07 09:03:25 -08:00
delete_test.go move configs structs to remove dependency on daemon 2015-12-07 09:03:25 -08:00
discovery.go Make discovery ttl and heartbeat configurable 2015-11-25 06:51:55 -08:00
discovery_test.go Make discovery ttl and heartbeat configurable 2015-11-25 06:51:55 -08:00
errors.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
events.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
exec.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
exec_unix.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
exec_windows.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
export.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
history.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
image_delete.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
images.go Make filtering a linear operation. 2015-12-02 11:12:42 -05:00
import.go Improved push and pull with upload manager and download manager 2015-12-09 19:13:35 -08:00
info.go Move docker system information to a dedicated router and backend. 2015-12-03 13:38:56 -05:00
inspect.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
inspect_unix.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
inspect_windows.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
kill.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
list.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
list_unix.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
list_windows.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
logdrivers_linux.go Add Splunk logging driver #16207 2015-10-23 13:37:53 -07:00
logdrivers_windows.go Enable Splunk logdriver for windows 2015-11-12 10:57:21 -08:00
logs.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
mounts.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
network.go Move DisconnectFromNetwork back to daemon/ 2015-12-03 20:10:27 +01:00
pause.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
rename.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
resize.go Move exec store to its own package inside the daemon. 2015-11-20 17:40:16 -05:00
restart.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
selinux_linux.go Rename daemon/utils_*.go to selinux 2015-11-12 15:48:41 -08:00
selinux_unsupported.go Rename daemon/utils_*.go to selinux 2015-11-12 15:48:41 -08:00
start.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
stats.go Merge pull request #16742 from runcom/10772-docker-stats-all 2015-11-07 19:41:03 +00:00
stats_collector_unix.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
stats_collector_windows.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
stats_freebsd.go Refactor the statistics of network in docker stats 2015-09-15 15:40:34 +08:00
stats_linux.go Refactor the statistics of network in docker stats 2015-09-15 15:40:34 +08:00
stats_windows.go Refactor the statistics of network in docker stats 2015-09-15 15:40:34 +08:00
stop.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
top_unix.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
top_windows.go Revert "Merge pull request #16228 from duglin/ContextualizeEvents" 2015-09-29 14:26:51 -04:00
unpause.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
volumes.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
volumes_unit_test.go Windows: Add volume support 2015-10-22 10:42:53 -07:00
volumes_unix.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
volumes_windows.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
wait.go Revert "Merge pull request #16228 from duglin/ContextualizeEvents" 2015-09-29 14:26:51 -04:00

README.md

This directory contains code pertaining to running containers and storing images

Code pertaining to running containers:

  • execdriver

Code pertaining to storing images:

  • graphdriver