summary refs log tree commit diff
path: root/.local/share/navi/cheats/robertgzr__cheats/docker.cheat
diff options
context:
space:
mode:
Diffstat (limited to '.local/share/navi/cheats/robertgzr__cheats/docker.cheat')
-rw-r--r--.local/share/navi/cheats/robertgzr__cheats/docker.cheat13
1 files changed, 0 insertions, 13 deletions
diff --git a/.local/share/navi/cheats/robertgzr__cheats/docker.cheat b/.local/share/navi/cheats/robertgzr__cheats/docker.cheat
deleted file mode 100644
index c89d141..0000000
--- a/.local/share/navi/cheats/robertgzr__cheats/docker.cheat
+++ /dev/null
@@ -1,13 +0,0 @@
-
-% docker
-
-# List images, sorted by size
-docker image ls --format '{{.Size}}\t{{.ID}}\t{{.Repository}}:{{.Tag}}' | sort -h
-
-# List images, sorted by creation time
-docker image ls --format '{{.CreatedAt}}\t{{.ID}}\t{{.Repository}}:{{.Tag}}' | sort
-
-# List images, include architecture
-docker image ls --format '{{.Size}}\t{{.ID}}\t{{.Repository}}:{{.Tag}}' \
-  | awk '{"docker inspect "$2"| jq -r .[].Architecture"|getline arch; printf "%s\t%s\t%s\t%s\n", $1, $2, arch, $3}' \
-  | sort -h