moby--moby/docker
Tibor Vass b08f071e18 Revert "Merge pull request #16228 from duglin/ContextualizeEvents"
Although having a request ID available throughout the codebase is very
valuable, the impact of requiring a Context as an argument to every
function in the codepath of an API request, is too significant and was
not properly understood at the time of the review.

Furthermore, mixing API-layer code with non-API-layer code makes the
latter usable only by API-layer code (one that has a notion of Context).

This reverts commit de41640435, reversing
changes made to 7daeecd42d.

Signed-off-by: Tibor Vass <tibor@docker.com>

Conflicts:
	api/server/container.go
	builder/internals.go
	daemon/container_unix.go
	daemon/create.go
2015-09-29 14:26:51 -04:00
..
README.md Add README.md file for the docker directory 2014-05-20 09:04:46 +00:00
client.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
common.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
daemon.go Revert "Merge pull request #16228 from duglin/ContextualizeEvents" 2015-09-29 14:26:51 -04:00
daemon_linux.go make docker compile on freebsd 2015-07-29 21:25:56 +03:00
daemon_none.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
daemon_unix.go fix golint warnings/errors on `pkg/system` and `pkg/stdcopy` 2015-08-13 18:47:13 +08:00
daemon_windows.go Windows: Move daemon config directory 2015-07-30 12:39:19 -07:00
docker.go Clean up: show usage when global --help present 2015-09-23 05:17:03 -04:00
docker_windows.go Windows: Build docker.exe manifested and with icon 2015-06-04 11:49:10 -07:00
flags.go docker restarts running OR stopped containers, docs edit rm "running" 2015-09-20 09:16:27 -04:00
flags_experimental.go "docker network" missing from docker --help 2015-09-04 15:34:17 +09:00
flags_test.go Add test to check if subcommands are sorted 2015-08-07 01:34:21 -07:00

README.md

docker.go contains Docker's main function.

This file provides first line CLI argument parsing and environment variable setting.