![]() |
![]()
| ![]() |
![]()
Jhon Honce August 2016
NAMEskopeo -- Command line utility used to interact with local and remote container images and container image registries SYNOPSISskopeo [global options] command [command options] DESCRIPTIONskopeo is a command line utility providing various operations with container images and container image registries. skopeo can copy container images between various containers image stores, converting them as necessary. For example you can use skopeo to copy container images from one container registry to another. 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? 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 NAMESMost commands refer to container images, using a transport:details format. The following formats are supported: containers-storage:docker-reference
dir:path
docker://docker-reference
docker-archive:path[:docker-reference]
docker-daemon:docker-reference
oci:path:tag
oci-archive:path:tag
See containers-transports(5) ⟨https://github.com/containers/image/blob/main/docs/containers-transports.5.md⟩ for details. OPTIONSThese options should be placed before the subcommand name. Individual subcommands have their own options. --command-timeout duration Timeout for the command execution. --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. --tmpdir dir Directory used to store temporary files. Defaults to /var/tmp. --version, -v Print the version number COMMANDS
EXIT STATUSskopeo exits with status 0 on success, non-zero on error. 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
/etc/containers/registries.d
SEE ALSOskopeo-login(1), docker-login(1), containers-auth.json(5), containers-storage.conf(5), containers-policy.json(5), containers-transports(5) AUTHORSAntonio 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⟩
|