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

Add ID-mapping capabilities #1392

Merged
merged 3 commits into from
Nov 4, 2024
Merged

Commits on Oct 31, 2024

  1. Add id-mapped nerdctl to Makefile

    nerdctl currently does not support ID mapping natively, so this commit
    adds the code for us to use a patched version of nerdctl that supports
    this.
    
    Once this is supported upstream natively, we can revert this.
    
    Signed-off-by: David Son <[email protected]>
    sondavidb committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    ab15619 View commit details
    Browse the repository at this point in the history
  2. Add idtools package

    Taken from containerd commit 83aaa89, this adds the necessary tools to
    add idmapping capabilities to SOCI.
    
    Signed-off-by: David Son <[email protected]>
    sondavidb committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    e390d85 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Add support for idmapped layers

    This commit adds ID mapping functionality in SOCI. ID mapping is enabled
    if the correct labels are passed through.
    
    To avoid having containerd handle the ID mapping, we must declare in the
    containerd config file that the snapshotter supports ID mapping.
    
    Note that usage of this feature requires proxy plugins to have
    capabilities, which is only supported in containerd v1.7.23 onwards.
    
    Signed-off-by: David Son <[email protected]>
    sondavidb committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    4a2234d View commit details
    Browse the repository at this point in the history