From 7f66d7783f886cf4aa50c81b9f85869b7ebf6874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Apayd=C4=B1n?= Date: Mon, 13 Apr 2020 15:16:50 +0300 Subject: [PATCH] Update formatting.md --- config/formatting.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/formatting.md b/config/formatting.md index e916e845bae9..2004c85f34a1 100644 --- a/config/formatting.md +++ b/config/formatting.md @@ -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