Documentation
¶
Overview ¶
Package export converts Strata lockfiles to portable container formats.
The primary export format is OCI Image Layout (OCI Image Layout Specification 1.0), which is compatible with Docker, Podman, and Apptainer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Export ¶
func Export(ctx context.Context, lf *spec.LockFile, layerPaths []overlay.LayerPath, outputPath, tag string) error
Export converts a lockfile's layers into an OCI Image Layout tar archive. Requires unsquashfs (squashfs-tools) to be installed on PATH.
layerPaths must be ordered: the first entry is the bottom-most layer (lowest MountOrder). Layers are combined into separate OCI diff layers. The resulting archive at outputPath is a valid OCI Image Layout that can be loaded with:
docker load -i outputPath podman load -i outputPath
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.