docker/docker — pull request #9796 by LK4D4 (2014-12-23 21:20:39+00:00)
Title: More graceful stop for testing daemon

Fixes problem with TestDaemonAllocatesListeningPort

The actual problem that containers which failing to start before even process creation - spawns attach goroutine, which hangs forever. And daemon on shutdown wait for 5 seconds before die gracefully(and our testing daemon just hit 4 times retries limit and kill daemon with -9). I'll post issue about this.