Files
moby/cmd/dockerd
Flavio Crisciani e2ec006797 Fix race condition between swarm and libnetwork
This commit in conjunction with a libnetwork side commit,
cleans up the libnetwork SetClusterProvider logic interaction.
The previous code was inducing libnetwork to spawn several go
routines that were racing between each other during the agent
init and close.

A test got added to verify that back to back swarm init and leave
are properly processed and not raise crashes

Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
2017-05-10 21:16:52 -07:00
..
2017-05-01 15:31:56 -04:00
2016-10-27 10:34:38 -07:00
2016-09-01 14:47:51 +08:00

docker.go contains Docker daemon's main function.

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