Yong Tang e450a54119 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>
2017-06-02 00:07:35 +00:00
..
2017-06-02 00:07:28 +00:00
2017-06-02 00:07:31 +00:00
2017-06-02 00:07:29 +00:00
2017-06-02 00:06:58 +00:00
2017-06-02 00:07:29 +00:00
2017-06-02 00:07:22 +00:00
2017-06-02 00:07:26 +00:00
2017-06-02 00:07:29 +00:00
2017-06-02 00:07:26 +00:00
2017-06-02 00:07:35 +00:00
2017-06-02 00:07:25 +00:00
2017-06-02 00:07:33 +00:00
2017-06-02 00:07:28 +00:00
2017-06-02 00:07:23 +00:00
2017-06-02 00:07:29 +00:00
2017-06-02 00:07:29 +00:00
2017-06-02 00:07:25 +00:00
2017-06-02 00:07:32 +00:00
2017-06-02 00:07:29 +00:00
2017-06-02 00:07:27 +00:00
2017-06-02 00:07:32 +00:00
2017-06-02 00:07:26 +00:00
2017-06-02 00:07:22 +00:00
2017-06-02 00:07:26 +00:00
2017-06-02 00:07:29 +00:00
2017-06-02 00:07:29 +00:00