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 support for Docker images (OCI Format) #78

Open
scovetta opened this issue May 27, 2022 · 3 comments
Open

Add support for Docker images (OCI Format) #78

scovetta opened this issue May 27, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@scovetta
Copy link
Member

We should be able to extract from Docker images - either OSI-compatible or another format.

@gfs gfs added the enhancement New feature or request label May 28, 2022
@gfs
Copy link
Contributor

gfs commented May 30, 2022

I did a bit of searching but I was not able to find a C# api for parsing OCI images.

I think the spec is open, if so and we considered it high priority I could implement a parser from the spec, like I did for .ar files (though I suspect the spec for OCI is more complex).

I did find that the Docker cli has a method to export an image as a tar file, if you want a workaround you can use right now.

https://docs.docker.com/engine/reference/commandline/image_save/

@gfs
Copy link
Contributor

gfs commented May 30, 2022

OCI image spec:

https://github.com/opencontainers/image-spec

@gfs gfs changed the title Add support for Docker images Add support for Docker images (OCI Format) Jun 7, 2022
@gfs
Copy link
Contributor

gfs commented Jun 7, 2022

The reference implementation is in go. One potential option is to start with a Go to C# converter like this one: https://go2cs.net/.

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

2 participants