-
Notifications
You must be signed in to change notification settings - Fork 82
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
Proposal: Implement OCI image downloader #70
Comments
The problem with a generic image-downloader is that the OCI doesn't
define an HTTP protocol for accessing images. We could fetch
image-layouts over HTTP (just like we already do for tar- and
directory-backed image-layouts). I think adding support for that
would be useful. And it would be fairly straightforward after #5, but
you could land it before #5 if you don't mind updating some existing
walker-style consumers.
|
There is also a |
I think we can setup a new sub-command in image-tools repo, like |
if mixing OCI and Docker is an option why don't we move https://github.com/containers/image under OCI? :) BTW, there are already tools out there to do this, and since distribution isn't defined by image-spec I would not clutter the repo with this new command |
I think it will be easier to debug and work for image-tools by adding the command. And we can make modification with probable change of OCI image. I don't think it will lead to clutter, and It seems little benefit to set up another repo. |
https://github.com/containers/image is a powerful library, it's great if move it under OCI. |
I think image-tools should stick to implementing image-spec. Tools that bridge with other formats and APIs belong outside of opencontainers/. Of course, we should make the image-tools libraries easily extensible to those external projects don't have to re-implement our functionality. |
I agree with @wking in that since it's not part of the spec it shouldn't live here. @runcom that would be an interesting mix. Since |
I think we could setup a library with some defined APIs(or interface). `container/image` or other tools can implement these APIs. These Interfaces in |
On Thu, Nov 03, 2016 at 07:53:11PM -0700, Ye Yin wrote:
There are some low-level CAS/ref interfaces in flight with #5. There |
@hustcat Here's my opinion on the topic:
If you want to see what my implementation of some core OCI functionality is, take a look at |
oci-torrent: A tool to distribute OCI image with bittorrent |
skopeo is a good image downloader, but it's belonged to
projectatomic
.The text was updated successfully, but these errors were encountered: