Skip to content

v2.3.1

Choose a tag to compare

@github-actions github-actions released this 14 Aug 20:24
· 6 commits to v2 since this release

cpak 2.3.1 moves the project to LGPL-2.1-only and introduces the versioned storage driver protocol.

Extensible storage

Storage drivers prepare persistent native directories for immutable OCI layers. cpak records the result in an atomic index and passes those directories directly to rootless OverlayFS when an application starts. Preparation, verification, removal and garbage collection use the driver service. Normal launches read the index without waiting for it.

The protocol lives in Containerpak/storage and is versioned independently from cpak. External drivers can implement it in any language. cpak validates every returned path and confines untrusted driver processes to their assigned roots without network access.

Included drivers

  • FVS is the default. OCI layers are stored once by digest, equal content-defined blocks are shared across files and layers, and native checkouts reuse complete files through reflinks or hard links where supported.
  • DaBaDee remains available as the compatibility driver and as the explicit path deduplication tool.

Use cpak storage status, cpak storage migrate and cpak storage verify to inspect and maintain the selected driver.

License

cpak and future contributions are now licensed under LGPL-2.1-only. Applications, OCI images and package manifests keep their own licenses.

Read the announcement

Full Changelog: v2.2.0...v2.3.1