Arnaud Porterie
26d7a7de66
Fix client-side race in docker stats
...
Subscribe to events and monitor for new containers before the initial
listing of currently running containers.
This fixes a race where a new container could appear between the first
list call but before the client was subscribed to events, leading to a
container never appearing in the output of `docker stats`.
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com >
Upstream-commit: 3041aa53efbbfddbc10a66027d973bd353e3b525
Component: engine
2016-02-28 18:44:23 -08:00
..
2016-02-23 12:10:24 -05:00
2015-12-17 23:17:52 -05:00
2016-02-11 15:49:36 -08:00
2016-02-11 20:59:59 +01:00
2016-02-04 13:59:57 -05:00
2016-01-07 21:02:19 -05:00
2016-01-06 19:48:59 -05:00
2016-02-04 13:59:57 -05:00
2016-02-04 13:59:57 -05:00
2015-12-09 12:04:53 -05:00
2016-02-04 13:59:57 -05:00
2016-01-06 19:48:59 -05:00
2016-01-20 13:32:19 -08:00
2016-02-04 13:59:57 -05:00
2016-01-20 13:32:19 -08:00
2015-12-16 12:26:49 -05:00
2016-01-06 19:48:59 -05:00
2016-02-04 13:59:57 -05:00
2016-02-16 10:40:15 -08:00
2016-01-06 19:48:59 -05:00
2016-02-03 15:45:20 +08:00
2016-02-05 02:24:23 -05:00
2016-02-03 13:10:25 -08:00
2016-02-03 13:10:25 -08:00
2016-02-04 13:59:57 -05:00
2016-02-19 15:42:48 -05:00
2016-02-03 15:45:20 +08:00
2015-12-22 13:31:46 -05:00
2016-01-06 19:48:59 -05:00
2016-02-04 13:59:57 -05:00
2016-02-04 13:59:57 -05:00
2015-12-09 12:04:56 -05:00
2016-02-03 15:45:20 +08:00
2016-02-03 15:45:20 +08:00
2016-02-03 15:45:20 +08:00
2016-02-26 15:49:09 -05:00
2016-02-04 13:59:57 -05:00
2016-02-03 11:01:29 -08:00
2016-01-20 13:32:19 -08:00
2016-01-06 19:48:59 -05:00
2016-02-28 18:44:23 -08:00
2016-02-03 15:45:20 +08:00
2016-01-06 19:48:59 -05:00
2015-12-09 12:04:57 -05:00
2016-01-06 19:48:59 -05:00
2016-02-17 10:36:09 +08:00
2016-02-03 15:45:20 +08:00
2016-02-20 17:06:32 +08:00
2016-02-10 15:32:51 +01:00
2016-01-06 19:48:59 -05:00
2016-02-17 09:01:27 +00:00
2016-02-04 13:59:57 -05:00