Files
docker-cli/components/engine/docs/reference/commandline
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-02-05 16:47:57 -05:00
2016-03-12 14:11:01 +01:00
2016-02-19 09:27:03 +08:00
2015-06-15 13:19:38 -07:00
2016-02-19 09:27:03 +08:00
2016-01-03 23:03:39 +01:00
2016-01-26 15:58:53 -08:00
2016-02-19 09:27:03 +08:00
2016-01-26 15:58:53 -08:00
2016-03-31 08:27:24 +02:00
2016-01-22 09:27:53 +02:00
2016-03-24 18:57:44 +01:00
2016-02-11 15:49:36 -08:00
2016-01-13 21:28:52 -08:00
2016-02-19 09:27:03 +08:00
2016-02-19 09:27:03 +08:00
2016-01-21 04:26:49 +00:00
2016-03-15 09:26:41 +00:00
2016-02-19 09:27:03 +08:00
2016-02-02 12:28:33 +00:00
2016-03-22 08:16:52 +01:00
2016-01-26 15:58:53 -08:00
2016-01-03 23:03:39 +01:00
2016-01-26 15:58:53 -08:00
2016-02-20 17:06:32 +08:00
2016-02-18 21:52:15 +02:00