Files
docker-cli/components/engine/integration-cli
Yong Tang 3a11a917d1 Fix issue in docker stats with NetworkDisabled=true
This fix tries to address the issue in 25000 where `docker stats`
will not show network stats with `NetworkDisabled=true`.

The `NetworkDisabled=true` could be either invoked through
remote API, or through `docker daemon -b none`.

The issue was that when `NetworkDisabled=true` either by API or
by daemon config, there is no SandboxKey for container so an error
will be returned.

This fix fixes this issue by skipping obtaining SandboxKey if
`NetworkDisabled=true`.

Additional test has bee added to cover the changes.

This fix fixes 25000.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 7bb9c5397e69866fcb1142cda430b842a710f751
Component: engine
2016-08-23 16:04:06 -07:00
..
2016-06-13 22:16:18 -07:00
2016-06-12 17:23:19 +02:00
2016-06-02 17:17:22 +08:00
2016-06-02 17:17:22 +08:00
2016-06-02 17:17:22 +08:00
2016-08-09 09:42:23 +08:00