Skip to content

OCI mount for images #113

Description

@korewaChino

related to #112

generate rootfs mounts from an OCI image, and mounting them with virtiofsd.

we can simply either use umoci or oci-unpack or ocirender and get the final manifest's SHA256 hash and then store it in the cache, then create an overlayfs mount, or we can abuse Podman's podman image mount feature, or we can attempt to build an overlayfs mount manually for each layer.

the issue with unpacking to cache is that we'll be getting duplicate files, so functions would eat up a lot of storage like traditional VPS services and fluctuate a lot, so I propose we actually try to build an overlayfs or composefs mount out of the OCI layers in the manifest instead of unpacking the image itself flat and leaving duplicate files that can be deduped on the odorobo image cache

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions