Skip to content

WSLC: Enable containerd image store for OCI image-layout and multi-platform image loading #41123

Open

Description

@baronfel

Is your feature request related to a problem? Please describe.

wslc image load --input cannot currently load OCI image-layout archives containing oci-layout, index.json, and content-addressed blobs. This prevents tools from loading standard multi-platform image archives into WSLC.

I've been working on adding support for wslc into the .NET SDK's native container publishing support but found during testing our multi-arch image publishing that wslc wouldn't load the OCI image layout archive. Other .NET-supported backends like Docker with its containerd image store, Podman, and Apple's container CLI do at this point in time.

Describe the solution you'd like

Enable support for OCI layouts in wslc to enable seamless use of multi-arch image indexes in the tool.

Describe alternatives you've considered

  • The .NET SDK could convert the OCI layout to a Docker archive before calling WSLC. Docker archive output does not provide a good standard representation for multi-platform images and can lose the image index.
  • Load each images' platform separately. This still requires a way to construct and retain the local multi-platform manifest list and it hard to use for users, since it's unclear how to reference each specific image platform at run-time.
  • Push the images and index to a temporary registry and pull them through WSLC. This requires additional infrastructure and turns a local publish into a registry operation.
  • Exclude WSLC from .NET SDK multi-platform local publishing. This avoids the failure but leaves WSLC with less functionality than other supported local runtimes.

Activity

  1. github-actions commented on Jul 20, 2026

    @github-actions
    Contributor

    Logs are required for review from WSL team

    If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
    Otherwise, please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

    How to collect WSL logs

    Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

    Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
    Set-ExecutionPolicy Bypass -Scope Process -Force
    .\collect-wsl-logs.ps1
    

    The script will output the path of the log file once done.

    If this is a networking issue, please use .\collect-wsl-logs.ps1 -LogProfile networking instead, following the instructions in Collect WSL logs for networking issues

    Once completed please upload the output files to this GitHub issue.

    See Collect WSL logs (recommended method).

    If you choose to email these logs instead of attaching them to the bug, please send them to [email protected] with the GitHub issue number in the subject, and include a link to your GitHub issue comment in the message body, and reply with '/emailed-logs'.

  2. baronfel commented on Jul 20, 2026

    @baronfel
    MemberAuthor

    /feature

  3. github-actions commented on Jul 20, 2026

    @github-actions
    Contributor
    Diagnostic information
    Found '/feature', adding tag 'feature'
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions