golemfactory/ya-runtime-vm

Make contents of `VOLUME`s available inside (currently) mounted directories

Opened this issue · 2 comments

What

  • contents of VOLUME directories are available inside the VM

Why

  • increase compatibility with Docker
  • VOLUME is commonly used in Dockerfiles

Details:

  • support both read only root fs (excluding /tmp) and an overlay mounted on a local filesystem
  • extend VM image metadata to specify the root fs mode; default to overlay mode in the VM runtime
  • extend gvmkit-build with options to specify the root fs mode

Blocked for now, miner team is working on a more permanent solution using 9p-fileserver