-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Client API for importing/exporting OCI images #831
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
Comments
Could you propose the reference syntax in the context of what is described in reference? For example, how is |
reference spec is not changed at all. If object is not specified If hostname is not localhost |
It might be good to modify ref spec to make hostname optional. It might be useful for other resolvers as well. |
Again, the hostname is not a hostname, it is a namespace. We need to think very hard before dropping that requirement. |
ok, and on second thought, |
A WIP PR might be good. I am not sure if we should merge anything yet. |
|
How about this (cc @jhowardmsft )
|
This is very confusing to me, I don't know the back-story. Why not just have natural platform semantic syntax? |
@jhowardmsft I agree that this is confusing. He is proposing this because these are image references, not paths. Frankly, this is why this idea is so insidious: we limit ourselves a layer of indirection, in the same way that docker does today. This should really require a namespace configuration:
The mapping and data are up to the resolver. If the configuration chooses to use Let's reduce the desire to overload. It just creates confusion and trade offs. |
I think just setting the root dir via resolver config would be enough.
|
opened #920 |
Copy-pasting conversation at Slack today
|
We can probably handle all of this client side. |
opened #1013 |
updated #1013 to support |
@AkihiroSuda can this be closed now? |
yes |
Uh oh!
There was an error while loading. Please reload this page.
I'd like to propose a new remote resolver named "filesystem", which allows pulling (and pushing) OCI images from a filesystem.
Filesystem is expected to be a local filesystem, but can be arbitrary network filesystems (e.g. NFS, S3 on FUSE, IPFS on FUSE...)
PR
PR is almost ready, but didn't open yet because this seems to require technical discussion.
master...AkihiroSuda:resolver-filesystem.20170510
Currently, OCI 1.0.0-rc5 is supported via my generic OCI image manipulation library (https://github.com/AkihiroSuda/filegrain/tree/master/image)
Example
Concern
localhost/
prefix. This might be weird.The text was updated successfully, but these errors were encountered: