Fixing a typo (#1914)

* Fixing a typo

Instructions says to list name but the format lists container id

* Updating command output based upon the request

* Update docker_stats.yaml

Fixing the column name
This commit is contained in:
Arun Gupta 2017-02-22 13:21:21 -08:00 committed by Misty Stanley-Jones
parent dddd864438
commit aa4e3f0b0e
1 changed files with 5 additions and 5 deletions

View File

@ -104,12 +104,12 @@ examples: |-
```bash
{% raw %}
$ docker stats --format "table {{.Container}}\t{{.CPUPerc}}\t{{.MemUsage}}"
$ docker stats --format "table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}"
CONTAINER CPU % PRIV WORKING SET
1285939c1fd3 0.07% 796 KiB / 64 MiB
9c76f7834ae2 0.07% 2.746 MiB / 64 MiB
d1ea048f04e4 0.03% 4.583 MiB / 64 MiB
NAME CPU % PRIV WORKING SET
fervent_panini 0.07% 796 KiB / 64 MiB
ecstatic_kilby 0.07% 2.746 MiB / 64 MiB
quizzical_nobel 0.03% 4.583 MiB / 64 MiB
{% endraw %}
```