LinuxCommandLibrary

skopeo

TLDR

Copy image between registries

$ skopeo copy docker://[source-image] docker://[dest-image]
copy
Inspect image
$ skopeo inspect docker://[image:tag]
copy
List tags
$ skopeo list-tags docker://[registry/image]
copy
Copy to local directory
$ skopeo copy docker://[image] dir:[local-dir]
copy
Delete image
$ skopeo delete docker://[image:tag]
copy
Sync repository
$ skopeo sync --src docker --dest docker [source] [dest]
copy

SYNOPSIS

skopeo command [options]

DESCRIPTION

skopeo performs operations on container images and registries without requiring a container runtime. It can copy, inspect, delete, and sign images across registries.
The tool is useful for CI/CD pipelines, mirror management, and image inspection without pulling full images.

PARAMETERS

copy src dest

Copy image.
inspect image
Show image metadata.
list-tags repo
List available tags.
delete image
Delete image from registry.
sync args
Synchronize repositories.
--src-creds user:pass
Source credentials.
--dest-creds user:pass
Destination credentials.
--authfile file
Authentication file.
--override-os os
Override OS.
--override-arch arch
Override architecture.

CAVEATS

Registry authentication may be needed. Some operations require write access. Large images take time. Delete may not reclaim space.

HISTORY

skopeo was developed by Red Hat as part of the container tools project alongside podman and buildah. It enables daemonless container image operations, fitting the podman philosophy.

SEE ALSO

podman(1), docker(1), crane(1), buildah(1)

Copied to clipboard