moby--moby/daemon
Michael Crosby 7321067176 Use argv0 as reexec implementation for dockerinit
This changes the way the exec drivers work by not specifing a -driver
flag on reexec.  For each of the exec  drivers they register their own
functions that will be matched aginst the argv 0 on exec and called if
they match.

This also allows any functionality to be added to docker so that the
binary can be reexec'd and any type of function can be called.  I moved
the flag parsing on docker exec to the specific initializers so that the
implementations do not bleed into one another.  This also allows for
more flexability within reexec initializers to specify their own flags
and options.

Signed-off-by: Michael Crosby <michael@docker.com>
2014-08-11 11:47:21 -07:00
..
execdriver Use argv0 as reexec implementation for dockerinit 2014-08-11 11:47:21 -07:00
graphdriver Replace "amd64" build tags with "cgo" as appropriate, and remove where unnecessary 2014-08-06 17:20:21 -06:00
networkdriver Merge pull request #7100 from discordianfish/fix-port-allocation 2014-07-30 23:51:21 +03:00
MAINTAINERS Add maintainers to daemon/ and graph/ 2014-08-06 10:29:15 +00:00
README.md
attach.go port usage of jsonlog to the new daemon files which were refactored 2014-08-06 16:45:04 -07:00
changes.go Move "changes" to daemon/changes.go 2014-08-01 14:24:46 -04:00
commit.go Move "commit" to daemon/commit.go 2014-08-01 14:17:24 -04:00
container.go Fix error message on logging events 2014-08-09 18:45:38 +04:00
container_unit_test.go Added test cases for no port passed to nat.ParsePortSpecs and negative port number passed 2014-08-01 23:41:34 +05:30
copy.go Move "copy" to daemon/copy.go 2014-08-01 14:24:41 -04:00
create.go Separate events subsystem 2014-08-06 10:08:19 +00:00
daemon.go Remove last trace of Daemon->Server dependency 2014-08-06 17:56:12 +00:00
daemon_aufs.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
daemon_btrfs.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
daemon_devicemapper.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
daemon_no_aufs.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
delete.go Revert `rm -f` deprecation use SIGKILL instead 2014-08-07 18:20:43 -04:00
export.go Separate events subsystem 2014-08-06 10:08:19 +00:00
history.go
image_delete.go Rename "log_event" to "log" 2014-08-06 10:08:23 +00:00
info.go Move "info" to daemon/info.go 2014-08-08 03:01:55 +00:00
inspect.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
kill.go Separate events subsystem 2014-08-06 10:08:19 +00:00
list.go Move "containers" to daemon/list.go 2014-08-01 14:24:58 -04:00
logs.go port usage of jsonlog to the new daemon files which were refactored 2014-08-06 16:45:04 -07:00
network_settings.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
pause.go Separate events subsystem 2014-08-06 10:08:19 +00:00
resize.go Move "resize" to daemon/resize.go 2014-08-01 14:17:20 -04:00
restart.go Separate events subsystem 2014-08-06 10:08:19 +00:00
start.go Separate events subsystem 2014-08-06 10:08:19 +00:00
state.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
state_test.go
stop.go Separate events subsystem 2014-08-06 10:08:19 +00:00
top.go Move "top" to daemon/top.go 2014-08-01 14:24:52 -04:00
utils.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
utils_linux.go
utils_nolinux.go
utils_test.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
volumes.go Cleanup: extract bindmount spec parsing 2014-08-06 17:22:40 -04:00
wait.go Move "wait" to daemon/wait.go 2014-08-01 14:17:16 -04:00

README.md

This directory contains code pertaining to running containers and storing images

Code pertaining to running containers:

  • execdriver
  • networkdriver

Code pertaining to storing images:

  • graphdriver