Skip to content

runc configuration on rootless startupΒ #1898

@utezduyar

Description

@utezduyar

I am starting my container by an unprivileged user which has subid, subgid mappings. The user is dynamic. The mappings have to be put on the config.json and I have a script for this which updates the existing config.json file.

What are the thoughts on passing the subuid, subgid mappings to runc dynamically?

Option 1 can be that they are part of the command line argument to the create.

Option 2 can be that they are part of the command line argument to the spec argument. The spec argument already takes 1 option today (--rootless).

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