opencontainers / opencontainers/runc

Support `ridmap`

Open
#4,016 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
13.5k
Forks
2.3k
Avg merge
2d 8h
Merged PRs (30d)
30

Description

https://github.com/opencontainers/runtime-spec/blob/main/config.md#linux-mount-options

ridmap
SHOULD
Indicates that the mount has uidMappings and gidMappings specified, and the mapping is applied recursively 3. This option SHOULD NOT be passed to the underlying mount(2) call. If supported, the runtime MUST return an error if this option is provided and either of uidMappings or gidMappings are empty or not present.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked runtime-spec section on Linux mount options, then locate runc's mount handling and existing uidMappings and gidMappings support. The work is done when ridmap is recognized, mappings are applied recursively as specified, ridmap is not passed to mount(2), and invalid empty or missing mappings return an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.