From ca9301add6d5ff8f1cff964ecd91fec298d0395b Mon Sep 17 00:00:00 2001 From: hellojukay Date: Thu, 5 Nov 2020 18:09:18 +0800 Subject: [PATCH] ctr: add page (#4928) --- pages/linux/ctr.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/linux/ctr.md diff --git a/pages/linux/ctr.md b/pages/linux/ctr.md new file mode 100644 index 0000000000..ef549be0fb --- /dev/null +++ b/pages/linux/ctr.md @@ -0,0 +1,20 @@ +# ctr + +> Manage Containerd containers and images. +> More information: . + +- List all containers (running and stopped): + +`ctr containers list` + +- List all images: + +`ctr images list` + +- Pull an image: + +`ctr images pull {{image}}` + +- Tag an image: + +`ctr images tag {{souce_image}}:{{source_tag}} {{target_image}}:{{target_tag}}`