mirror of https://github.com/docker/docs.git
Merge pull request #10633 from developer-guy/master
[DOCS UPDATE] Update formatting.md
This commit is contained in:
commit
9ec7d50eea
|
@ -25,6 +25,15 @@ docker inspect --format '{{join .Args " , "}}' container
|
||||||
```
|
```
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
|
## table
|
||||||
|
|
||||||
|
`table` specifies which fields you want to see its output.
|
||||||
|
|
||||||
|
{% raw %}
|
||||||
|
```
|
||||||
|
docker image list --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}\t{{.Size}}"
|
||||||
|
```
|
||||||
|
{% endraw %}
|
||||||
|
|
||||||
## json
|
## json
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue