-------------------------------------------------------inspect-------------------------------------------- -------------------------------------------------------inspect-------------------------------------------- -------------------------------------------------------inspect-------------------------------------------- -------------------------------------------------------inspect-------------------------------------------- -------------------------------------------------------inspect-------------------------------------------- NAME skopeo-inspect - Return low-level information about image-name in a registry. SYNOPSIS skopeo inspect [options] image-name DESCRIPTION Return low-level information about image-name in a registry image-name name of image to retrieve information about -------------------------------------------------------Login-------------------------------------------- -------------------------------------------------------Login-------------------------------------------- -------------------------------------------------------Login-------------------------------------------- -------------------------------------------------------Login-------------------------------------------- -------------------------------------------------------Login-------------------------------------------- NAME skopeo-login - Login to a container registry. SYNOPSIS skopeo login [options] registry DESCRIPTION skopeo login logs into a specified registry server with the correct username and password. skopeo login reads in the username and password from STDIN. The username and password can also be set using the username and password flags. The path of the authentication file can be specified by the user by setting the authfile flag. The default path used is ${XDG_RUNTIME_DIR}/containers/auth.json. -------------------local quay ubuntu@node010:~$ skopeo login -------------------------------------------------------Logout-------------------------------------------- -------------------------------------------------------Logout-------------------------------------------- -------------------------------------------------------Logout-------------------------------------------- -------------------------------------------------------Logout-------------------------------------------- -------------------------------------------------------Logout-------------------------------------------- NAME skopeo-logout - Logout of a container registry. SYNOPSIS skopeo logout [options] registry DESCRIPTION skopeo logout logs out of a specified registry server by deleting the cached credentials stored in the auth.json file. The path of the authentication file can be overridden by the user by setting the authfile flag. The default path used is ${XDG_RUNTIME_DIR}/containers/auth.json. All the cached credentials can be removed by setting the all flag. -------------------------------------------------------copy-------------------------------------------- -------------------------------------------------------copy-------------------------------------------- -------------------------------------------------------copy-------------------------------------------- -------------------------------------------------------copy-------------------------------------------- -------------------------------------------------------copy-------------------------------------------- NAME skopeo-copy - Copy an image (manifest, filesystem layers, signatures) from one location to another. SYNOPSIS skopeo copy [--sign-by=key-ID] source-image destination-image DESCRIPTION Copy an image (manifest, filesystem layers, signatures) from one location to another. Uses the system's trust policy to validate images, rejects images not trusted by the policy. source-image use the "image name" format described above destination-image use the "image name" format described above source-image and destination-image are interpreted completely independently; e.g. the destination name does not automatically inherit any parts of the source name. -----------------docker to quay local skopeo copy ubuntu@node010:~$ skopeo copy ubuntu@node010:~$ skopeo copy docker://docker.io/fluent/fluentd:latest docker://quay:8089/quayuser1/fluentd:latest ubuntu@node010:~$ skopeo copy docker://docker.io/library/nginx:latest docker://quay:8089/quayuser1/nginx:base ubuntu@node010:~$ skopeo copy docker://docker.io/library/busybox:latest docker://quay:8089/quayuser1/busybox:latest -------------------------------------------------------sync-------------------------------------------- -------------------------------------------------------sync-------------------------------------------- -------------------------------------------------------sync-------------------------------------------- -------------------------------------------------------sync-------------------------------------------- -------------------------------------------------------sync-------------------------------------------- NAME skopeo-sync - Synchronize images between container registries and local directories. SYNOPSIS skopeo sync --src transport --dest transport source destination DESCRIPTION Synchronize images between container registries and local directories. The synchronization is achieved by copying all the images found at source to destination. Useful to synchronize a local container registry mirror, and to to populate registries running inside of air-gapped environments. Differently from other skopeo commands, skopeo sync requires both source and destination transports to be specified separately from source and destination. One of the problems of prefixing a destination with its transport is that, the registry docker://hostname:port would be wrongly interpreted as an image reference at a non-fully qualified registry, with hostname and port the image name and tag. Available source transports: - docker (i.e. --src docker): source is a repository hosted on a container registry (e.g.: registry.example.com/busybox). If no image tag is specified, skopeo sync copies all the tags found in that repository. - dir (i.e. --src dir): source is a local directory path (e.g.: /media/usb/). Refer to skopeo(1) dir:path for the local image format. - yaml (i.e. --src yaml): source is local YAML file path. The YAML file should specify the list of images copied from different container registries (local directories are not supported). Refer to EXAMPLES for the file format. Available destination transports: - docker (i.e. --dest docker): destination is a container registry (e.g.: my-registry.local.lan). - dir (i.e. --dest dir): destination is a local directory path (e.g.: /media/usb/). One directory per source 'image:tag' is created for each copied image. When the --scoped option is specified, images are prefixed with the source image path so that multiple images with the same name can be stored at destination. -------------------------------------------------------list-tags-------------------------------------------- -------------------------------------------------------list-tags-------------------------------------------- -------------------------------------------------------list-tags-------------------------------------------- -------------------------------------------------------list-tags-------------------------------------------- -------------------------------------------------------list-tags-------------------------------------------- NAME skopeo-list-tags - Return a list of tags for the transport-specific image repository. SYNOPSIS skopeo list-tags repository-name Return a list of tags from repository-name in a registry. repository-name name of repository to retrieve tag listing from --authfile path Path of the authentication file. Default is ${XDG_RUNTIME_DIR}/containers/auth.json, which is set using skopeo login. If the authorization state is not found there, $HOME/.docker/config.json is checked, which is set using docker login. --creds username[:password] for accessing the registry. --cert-dir path Use certificates at path (*.crt, *.cert, *.key) to connect to the registry. --tls-verify bool-value Require HTTPS and verify certificates when talking to container registries (defaults to true). --no-creds bool-value Access the registry anonymously. --registry-token Bearer token for accessing the registry.