How can we package unikernels in the OCI image format?

To address this challenge, we created bima, a tool specifically designed for this purpose. bima follows a simplistic approach by creating a pseudo rootfs and storing the unikernel blob in a designated location, along with any additional files required for running the unikernel (such as a configuration file). Custom OCI annotations, intentionally extensible, are utilized by bima to furnish the runtime with crucial information on how to execute the unikernel. This information includes the storage location of the unikernel within the rootfs, the desired hypervisor type, the necessary command line parameters, and the location of any extra required files.

  • Code:
  • Contact: , ,