mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
d9bf8163ad
For now CLI `docker stats` will not block even if the container was not running is because there is a 2s timeout setting when waiting for the response. I think why we hang there waiting for the container to run is because we want to get the stats of container immediately when it starts running. But it will block when use the API directly, for example - curl - Google Chrome plugin, Postman - Firefox plugin, RESTClient This patch keeps the feature that getting info immediately when container starts running and in the meantime, it will not block when using the API directrly. Signed-off-by: Hu Keping <hukeping@huawei.com> |
||
---|---|---|
.. | ||
auth.go | ||
container.go | ||
copy.go | ||
daemon.go | ||
exec.go | ||
form.go | ||
form_test.go | ||
image.go | ||
profiler.go | ||
server.go | ||
server_experimental_unix.go | ||
server_stub.go | ||
server_unix.go | ||
server_windows.go | ||
volume.go |