1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api
Arnaud Porterie 3041aa53ef 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>
2016-02-28 18:44:23 -08:00
..
client Fix client-side race in docker stats 2016-02-28 18:44:23 -08:00
fixtures Add more unit tests (thus coverage) to pkg api 2015-08-04 19:51:02 +02:00
server Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
types/backend Remove daemon dependency from api/server. 2016-02-10 15:16:59 -05:00
common.go Move getContext… function to builder package 2016-02-11 20:59:59 +01:00
common_test.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
README.md Update README.md 2014-07-04 18:21:13 +09:00

This directory contains code pertaining to the Docker API:

  • Used by the docker client when communicating with the docker daemon

  • Used by third party tools wishing to interface with the docker daemon