Skip to content

containers/composefs-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

composefs-rs

A Rust implementation of composefs with support for creating and managing verified operating system images. This project provides tools and libraries for working with composefs repositories and building secure, content-addressed filesystem images.

Note: it is planned for this project to become the primary reference implementation of composefs, replacing the C-based implementation. For more on this, see this discussion.

Goals

Anywhere one wants versioned immutable filesystem trees ("images"), composefs provides a lot of compelling advantages. In particular this project aims to be the successor to ostree for example.

Components

Core Libraries

  • composefs: Core library for composefs operations including filesystem trees, fs-verity support, and repository management
  • composefs-oci: OCI image handling and integration with container registries
  • composefs-boot: Boot infrastructure support including UKI (Unified Kernel Image) and BLS (Boot Loader Specification) integration
  • composefs-http: HTTP support for fetching composefs content
  • composefs-fuse: FUSE filesystem implementation

Command-line Tools

  • cfsctl: Primary CLI tool for managing composefs repositories
  • composefs-setup-root: Early boot tool for setting up the root filesystem from a composefs image

Examples

The examples directory contains working demonstrations of building verified OS images:

  • UKI: Unified Kernel Image with embedded composefs digest
  • BLS: Traditional kernel/initramfs with Boot Loader Specification entries
  • Unified: Streamlined UKI build using in-container measurement
  • Unified-SecureBoot: UKI with Secure Boot signing support

Documentation

Status

This project is under active development. It is still possible that the layout of a composefs repository will change for example.

License

See LICENSE-APACHE and LICENSE-MIT.

About

Rust library for the composefs filesystem

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Contributors 10