mirror of
https://github.com/docker/docs.git
synced 2026-03-28 06:49:00 +07:00
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>
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