From 31441d0e9bc22da3913a3a5f17f16401a53b1626 Mon Sep 17 00:00:00 2001 From: Gayle <9532712+flowy0@users.noreply.github.com> Date: Mon, 29 Apr 2024 10:29:47 +0800 Subject: [PATCH] Create Using_JQ.md --- Using_JQ.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Using_JQ.md diff --git a/Using_JQ.md b/Using_JQ.md new file mode 100644 index 0000000..926c15a --- /dev/null +++ b/Using_JQ.md @@ -0,0 +1,7 @@ +# Using JQ + + +Simple Usage of `jq` to get the size of a Docker Image +``` +echo "Image Size: $(docker images imagename --format "{{json . }}" | jq .Size)" +```