From 39847618224c51efb128003e359ec40a7fa935fc Mon Sep 17 00:00:00 2001 From: Guy Bianco IV Date: Mon, 10 Oct 2022 10:05:55 -0400 Subject: [PATCH] skopeo: add page (#8870) --- pages/common/skopeo.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pages/common/skopeo.md diff --git a/pages/common/skopeo.md b/pages/common/skopeo.md new file mode 100644 index 000000000..10dd1859a --- /dev/null +++ b/pages/common/skopeo.md @@ -0,0 +1,29 @@ +# skopeo + +> Container image management toolbox. +> Provides various utility commands to manage remote container images. +> More information: . + +- Inspect a remote image from a registry: + +`skopeo inspect docker://{{registry_hostname}}/{{image:tag}}` + +- List available tags for a remote image: + +`skopeo list-tags docker://{{registry_hostname}}/{{image}}` + +- Download an image from a registry: + +`skopeo copy docker://{{registry_hostname}}/{{image:tag}} dir:{{path/to/directory}}` + +- Copy an image from one registry to another: + +`skopeo copy docker://{{source_registry}}/{{image:tag}} docker://{{destination_registry}}/{{image:tag}}` + +- Delete an image from a registry: + +`skopeo delete docker://{{registry_hostname}}/{{image:tag}}` + +- Log in to a registry: + +`skopeo login --username {{username}} {{registry_hostname}}`