Open nzhang-zh opened 5 years ago
So far the experiments with OCI images and runc was done in the workflow below.
With this workflow, we could replace step 3
with mounting with storage driver instead of copying.
Docker does this differently however. Instead of unpacking an image and merge its layers to produce an overlay, the image layers could directly be unpacked to layers of a union file system. In the case of OverlayFS, all image layers will be used as lower dirs.
runc does not have features similar to Docker's storage drivers. https://github.com/opencontainers/runc/issues/1040
We need to manage separate filesystem mounts to run container in https://github.com/MatrixAI/Emergence/issues/46#issuecomment-445435614
Start with OverlayFS and/or ZFS