Skip to content

I would like to add two options to runc. #1174

@rhatdan

Description

@rhatdan

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions