SKOPEO(1)(Skopeo)
๐ Skopeo(1) โ Skopeo, the manual, bestie ๐
Jhon Honce ยท August 2016
okay so this is the Skopeo manual page, aka SKOPEO(1) โ and yes, she is that icon. ๐ซถ
๐ธ NAME ๐ธ
skopeo -- command line utility used to interact with local and remote container images and container image registries. literally her whole thing. ๐
โจ SYNOPSIS โจ
skopeo [global options] command [command options]
๐ DESCRIPTION ๐
skopeo is a command line utility that gives you various operations with container images and container image registries. no cap, she does a lot. โจ
skopeo can copy container images between various container image stores, converting them as necessary. for example, you can use skopeo to copy container images from one container registry to another. iconic behavior. ๐ฆ
skopeo can convert a Docker schema 2 or schema 1 container image to an OCI image.
skopeo can inspect a repository on a container registry without needlessly pulling the image. pulling an image from a repository โ especially a remote repository โ is an expensive network and storage operation. Skopeo fetches the repositoryโs manifest and displays a docker inspect-like json output about the repository or a tag. skopeo, in contrast to docker inspect, helps you gather useful information about a repository or a tag without requiring you to run docker pull โ e.g. โ Which tags are available for the given repository? Which labels does the image have? obsessed. ๐ญ๐
skopeo can sign and verify container images.
skopeo can delete container images from a remote container registry.
Note:skopeodoes not require any container runtimes to be running to do most of its functionality. It also does not require root, unless you are copying images into a container runtime storage backend, like thedockerdaemon orgithub.com/containers/storage. ๐ซถ
๐ IMAGE NAMES ๐
Most commands refer to container images using a transport:details format. the following formats are supported, bestie:
containers-storage:docker-referenceโ an image located in a localcontainers/storageimage store. Both the location and image store are specified in/etc/containers/storage.conf. (Backend for Podman, CRI-O, Buildah and friends.) ๐dir:pathโ an existing local directory path storing the manifest, layer tarballs and signatures as individual files. This is a non-standardized format, primarily useful for debugging or noninvasive container inspection.docker://docker-referenceโ an image in a registry implementing the "Docker Registry HTTP API V2". Credentials are typically managed using(skopeo login); seecontainers-auth.json(5)for more details about the credential search mechanism. ๐docker-archive:path[:docker-reference]โ an image is stored in thedocker saveformatted file.docker-referenceis only used when creating such a file, and it must not contain a digest.docker-daemon:docker-referenceโ an imagedocker-referencestored in thedockerdaemon internal storage.docker-referencemust contain either a tag or a digest. Alternatively, when reading images, the format can bedocker-daemon:algo:digest(an image ID). ๐oci:path:tagโ an image tag in a directory compliant with "Open Container Image Layout Specification" atpath.oci-archive:path:tagโ an image tag in a tar archive compliant with "Open Container Image Layout Specification" atpath.
See containers-transports(5) โจhttps://github.com/containers/image/blob/main/docs/containers-transports.5.mdโฉ for details. ๐
๐ OPTIONS ๐
These options should be placed before the subcommand name. Individual subcommands have their own options. periodt. โจ
--command-timeout durationโ timeout for the command execution (e.g.30s,10m). โณ--debugโ enable debug output.--help,-hโ show help.--insecure-policyโ adopt an insecure, permissive policy that allows anything. This obviates the need for a policy file. โ ๏ธ--override-arch archโ usearchinstead of the architecture of the machine for choosing images.--override-os osโ useOSinstead of the running OS for choosing images.--override-variant variantโ usevariantinstead of the running architecture variant for choosing images.--policy path-to-policyโ path to apolicy.jsonfile to use for verifying signatures and deciding whether an image is trusted, overriding the default trust policy file.--registries.d dirโ use registry configuration files indir(e.g. for container signature storage), overriding the default path.--require-signedโ require that any pulled image must be signed regardless of what the default or provided trust policy file says.--tls-details pathโ path to acontainers-tls-details(5)file, affecting TLS behavior throughout the program.
If not set, defaults to a reasonable default that may change over time (depending on systemโs global policy, version of the program, version of the Go language, and the like).
Users should generally not use this option unless they have a process to ensure that the configuration will be kept up to date.
--tmpdir dirโ directory used to store temporary files. Defaults to/var/tmp.--user-agent-prefix prefixโ prefix to add to the user agent string. The resulting user agent will be in the format"prefix skopeo/version".--version,-vโ print the version number.
๐ COMMANDS ๐
skopeo-copy(1)โ copy an image (manifest, filesystem layers, signatures) from one location to another. ๐ฆskopeo-delete(1)โ mark theimage-namefor later deletion by the registry's garbage collector.skopeo-generate-sigstore-key(1)โ generate a sigstore public/private key pair. ๐skopeo-inspect(1)โ return low-level information aboutimage-namein a registry.skopeo-list-tags(1)โ list image names in a transport-specific collection of images. ๐ท๏ธskopeo-login(1)โ login to a container registry.skopeo-logout(1)โ logout of a container registry.skopeo-manifest-digest(1)โ compute a manifest digest for amanifest-fileand write it to standard output.skopeo-standalone-sign(1)โ debugging tool - sign an image locally without uploading.skopeo-standalone-verify(1)โ debugging tool - verify an image signature from local files.skopeo-sync(1)โ synchronize images between registry repositories and local directories. ๐
๐ EXIT STATUS ๐
okay so hereโs the vibe check on how skopeo bows out: it exits with status 0 on success, non-zero on error. periodt. โจ
Details about the exit statuses:
1โ Generic error, details can be found in the error message. ๐2โ The input image cannot be found. Note that this is best effort and for remote registries the status often cannot be reliably reported. ๐ญ
๐ FILES ๐
/etc/containers/policy.jsonโ Default trust policy file, if--policyis not specified. The policy format is documented incontainers-policy.json(5)โจhttps://github.com/containers/image/blob/main/docs/containers-policy.json.5.mdโฉ. ๐/etc/containers/registries.dโ Default directory containing registry configuration, if--registries.dis not specified. The contents of this directory are documented incontainers-registries.d(5)โจhttps://github.com/containers/image/blob/main/docs/containers-registries.d.5.mdโฉ. ๐
๐ SEE ALSO ๐
like, go read these too, bestie โ iykyk ๐ซถ
skopeo-login(1)docker-login(1)containers-auth.json(5)containers-storage.conf(5)containers-policy.json(5)containers-transports(5)
๐ AUTHORS ๐
the icons who made this happen:
- Antonio Murdaca
runcom@redhat.comโจmailto:runcom@redhat.comโฉ - Miloslav Trmac
mitr@redhat.comโจmailto:mitr@redhat.comโฉ - Jhon Honce
jhonce@redhat.comโจmailto:jhonce@redhat.comโฉ
okay thatโs the whole page, bestie ๐ source/version footer energy is Pages / Man, the page tag is SKOPEO(1)(Skopeo), and the date vibe is August 2016. byeee โจ๐๐ฆ
๐ฆ where this page comes from
- arch rolling: skopeo 1.24.1-1 ยท Apache-2.0
- nixpkgs unstable: skopeo 1.24.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms