umoci icon indicating copy to clipboard operation
umoci copied to clipboard

Add ability specify runtime runtime bundle config values when unpacking

Open jul-sh opened this issue 2 years ago • 1 comments

it would be nice to be able to set runtime config values when unpacking.

The concrete use-case we need for https://github.com/project-oak/oak is the ability to define bind mounts to mount OS dirs into the container.

It'd be nice to be able to pass those as flags to the unpack command, similar to Docker's --mount flag.

jul-sh avatar Sep 22 '23 20:09 jul-sh

Sorry for not responding earlier. My initial thoughts are that config.json is a fairly straightforward thing to modify with jq and it's quite hard to get something like mount configurations wrong.

But that being said, we do have special handling for VOLUME (and there are some open questions about whether we should have more fully-fledged support for it -- see #130) so maybe adding support for mount configurations wouldn't be too crazy of an idea. Though since it's been more than a year since you opened this issue (and Oak appears to use umoci already) I'm not sure whether you still need this feature...

cyphar avatar May 25 '25 05:05 cyphar

Feel free to re-open if you'd like to discuss this further.

cyphar avatar Oct 01 '25 13:10 cyphar