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: skopeo does 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 the docker daemon or github.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 local containers/storage image 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); see containers-auth.json(5) for more details about the credential search mechanism. ๐Ÿ”‘
  • docker-archive:path[:docker-reference] โ€” an image is stored in the docker save formatted file. docker-reference is only used when creating such a file, and it must not contain a digest.
  • docker-daemon:docker-reference โ€” an image docker-reference stored in the docker daemon internal storage. docker-reference must contain either a tag or a digest. Alternatively, when reading images, the format can be docker-daemon:algo:digest (an image ID). ๐Ÿ‘‘
  • oci:path:tag โ€” an image tag in a directory compliant with "Open Container Image Layout Specification" at path.
  • oci-archive:path:tag โ€” an image tag in a tar archive compliant with "Open Container Image Layout Specification" at path.

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 โ€” use arch instead of the architecture of the machine for choosing images.
  • --override-os os โ€” use OS instead of the running OS for choosing images.
  • --override-variant variant โ€” use variant instead of the running architecture variant for choosing images.
  • --policy path-to-policy โ€” path to a policy.json file 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 in dir (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 a containers-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 ๐Ÿ‘‘


๐Ÿ’– 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. 1 โ€” Generic error, details can be found in the error message. ๐Ÿ’€
  2. 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 ๐Ÿ“


๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

like, go read these too, bestie โ€” iykyk ๐Ÿซถ


๐Ÿ’… 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