Make writeBroadcaster safe for concurrent use.
Swapped a map for a list in writeBroadcaster.
Refactored CmdRun and CmdAttach to use Container.Attach
Renamed writeBroadcaster.Close() to CloseWriters().
[unit tests] Cleanly kill all containers before nuking a temporary runtime
Activate Config.StdinOnce at argument parsing
When simulating disconnects in the tests, make sure that the command returns - but don't check for a specific return value
'docker run' in attached mode no longer waits for the process to exit. Take this into account in the tests.
Add test for attaching only stdin at run with 'docker run -i -a=stdin'
docker run [-a [stdin|stdout|stderr] [...]]: choose which streams to attach to when running a command. Fixes #234.
Merge branch 'master' into attach-stdin
Merge remote-tracking branch 'robryk/writebroadcaster-stuff'
Merged attachStdin