1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:05:59 +02:00

skopeo: add page (#8870)

This commit is contained in:
Guy Bianco IV 2022-10-10 10:05:55 -04:00 committed by GitHub
parent ebbf729e3b
commit 3984761822
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

29
pages/common/skopeo.md Normal file
View file

@ -0,0 +1,29 @@
# skopeo
> Container image management toolbox.
> Provides various utility commands to manage remote container images.
> More information: <https://github.com/containers/skopeo>.
- 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}}`