2025-03-14 21:59:59 -06:00
|
|
|
# skopeo
|
|
|
|
|
|
|
|
|
|
> Container image management toolbox.
|
|
|
|
|
> Provides various utility commands to manage remote container images.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://github.com/containers/skopeo/blob/main/docs/skopeo.1.md>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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}}`
|