moby--moby/docs/reference
Yong Tang 0e3846e280 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>
2016-04-08 20:01:50 +00:00
..
api Remote API docs give incorrect example for creating a container with volumes. 2016-04-02 19:59:02 +00:00
commandline Change HumanSize to BytesSize for memory output in `docker stats`. 2016-04-08 20:01:50 +00:00
builder.md make the cache miss clear 2016-04-06 00:48:21 -07:00
glossary.md Update links to Docker Hub 2016-03-04 15:48:52 +01:00
index.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
run.md Fix deprecated format for security-opt 2016-04-07 02:09:18 +00:00