Files
docker-cli/components/engine/api/client
Yong Tang a5c656d2b9 Change HumanSize to BytesSize for memory output in docker stats.
This fix tries to fix the discrepancy between `docker stats` and
`docker run` where `docker run` uses RAMInBytes for all memory
related inputs but `docker stats` uses HumanSize for all memory
related outputs.

To be consistent, `docker stats` needs to use BytesSize for all
memory related outputs to conform to RAMInBytes in `docker run`.

This fix addresses this issue. As BytesSize is used, the test
cases needs to be adjusted to match `KiB/MiB/GiB` instead of
`KB/MB/GB`.

The documentation has also been updated.

This fix fixes #21765.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 0e3846e280195cb47c47a7739b475b281dd301cb
Component: engine
2016-04-08 20:01:50 +00:00
..
2016-03-16 20:25:09 +01:00
2016-03-16 20:25:09 +01:00
2016-02-04 13:59:57 -05:00
2016-02-04 13:59:57 -05:00
2016-03-31 08:27:24 +02:00
2016-03-16 20:25:09 +01:00
2016-02-05 02:24:23 -05:00
2016-03-16 20:25:09 +01:00
2016-03-16 20:25:09 +01:00
2016-03-16 20:25:09 +01:00
2016-03-16 20:25:09 +01:00
2016-03-16 20:25:09 +01:00
2016-02-29 13:01:31 -05:00
2016-02-29 13:01:31 -05:00
2016-03-16 20:25:09 +01:00
2016-03-16 20:25:09 +01:00
2016-02-04 13:59:57 -05:00
2016-03-16 20:25:09 +01:00
2016-03-16 20:25:09 +01:00
2016-03-16 20:25:09 +01:00
2016-03-16 20:25:09 +01:00
2016-03-16 20:25:09 +01:00
2016-02-04 13:59:57 -05:00