Update formatting.md

This commit is contained in:
Batuhan Apaydın 2020-04-13 15:16:50 +03:00 committed by GitHub
parent 9b2e25bbd2
commit 7f66d7783f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -25,6 +25,15 @@ docker inspect --format '{{join .Args " , "}}' container
```
{% 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