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

FR: document distribution using OCI indexes #291

Open
imjasonh opened this issue Jul 1, 2022 · 0 comments
Open

FR: document distribution using OCI indexes #291

imjasonh opened this issue Jul 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@imjasonh
Copy link

imjasonh commented Jul 1, 2022

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

The spec states the expectations of a compliant OCI image, but doesn't leave open the possibility that the wasm image may be part of a larger index of images, some potentially other wasm variants (past or future), or images for other platforms entirely (e.g., traditional Linux or Windows images).

Describe the solution you'd like

I'd like the spec to clarify that it accepts indexes, and how it will match image descriptors in the index to find a compliant image to pull and run.

Describe alternatives you've considered

If I have code packaged as both of the two variants of wasm images, I can only distribute them as separate images.

If I have code I've packaged as wasm and as Linux or Windows executables, I can distribute my Linux/Windows images in an index together, but the wasm image has to be distributed separately.

Additional context

https://github.com/opencontainers/image-spec/blob/main/image-index.md

@imjasonh imjasonh added the enhancement New feature or request label Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant