-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
I want to be able to specify the rootfs and the config.json.
My thinking on this, is the ability to ship a default config.json inside of the image.
Currently if I want to do this, I need to do the following
If I have to do something like:
mkdir -p /run/myimage/rootfs
mount IMAGE /run/myimage/rootfs
cp /run/myimage/rootfs/root/config.hson /run/myimage
cd /run.myimage
runc start myapp
As opposed to
mkdir -p /run/myimage
mount IMAGE /run/myimage
runc start --config /run/myimage/root/config.json --rootfs /run/myimage myapp
I will prepare a patch to do this, but I wanted to see if this idea would fly before doing the work.
Metadata
Metadata
Assignees
Labels
No labels