Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Porting uid/gid mapping ID conversion logic from idtools #146

Open
henry118 opened this issue Aug 8, 2024 · 0 comments
Open

Porting uid/gid mapping ID conversion logic from idtools #146

henry118 opened this issue Aug 8, 2024 · 0 comments

Comments

@henry118
Copy link

henry118 commented Aug 8, 2024

I am working on a feature in containerd to support multiple uid/gid mappings containerd/containerd#10307.

My current implementation of the ID conversion logic is based on the idtools code in Moby.

Since the moby/sys package also contains code for ID mapping, such as parsing /etc/{subuid,subuid} and the IDMap type, would it be nice to also include the logic for ID conversions (ie. ToHost()/ToContainer() funcs)? This way containerd can have much cleaner implementation.

WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant