Module skopeo

Module skopeo 

Source
Expand description

Container image pulling and registry interaction via skopeo/containers-image-proxy.

This module provides functionality to pull container images from various registries and import them into composefs repositories. It uses the containers-image-proxy library to interface with skopeo for image operations, handling authentication, transport protocols, and image manifest processing.

The main entry point is the pull() function which downloads an image, processes its layers asynchronously with parallelism control, and stores them in the composefs repository with proper fs-verity integration. It supports various image formats and compression types.

Structsยง

ImageOp ๐Ÿ”’

Constantsยง

OCI_CONFIG_CONTENT_TYPE ๐Ÿ”’
TAR_LAYER_CONTENT_TYPE ๐Ÿ”’

Functionsยง

pull
Pull the target image, and add the provided tag. If this is a mountable image (i.e. not an artifact), it is not unpacked by default.