Skip to main content

Module bundle

Module bundle 

Source
Expand description

OCI Bundle Creation

Creates OCI-compliant bundles for container runtimes using libcontainer (youki). A bundle consists of a directory with:

  • config.json: OCI runtime specification
  • rootfs/: Container filesystem (symlink or bind mount target)

Structs§

BundleBuilder
Builder for OCI container bundles

Functions§

cleanup_bundle
Clean up a container’s bundle
create_bundle
Create a bundle for a container
parse_memory_string
Parse memory string like “512Mi”, “1Gi” to bytes