-
Notifications
You must be signed in to change notification settings - Fork 608
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
IPFS (nerdctl run /ipfs/QmfTVLXMG9TH7X523NytcXj35XtEDx4wgNWYepVumqpJZV
)
#465
Comments
nerdctl run QmfTVLXMG9TH7X523NytcXj35XtEDx4wgNWYepVumqpJZV
)nerdctl run /ipfs/QmfTVLXMG9TH7X523NytcXj35XtEDx4wgNWYepVumqpJZV
)
I think we can do One thing should be noted is that
The proposed |
Maybe we should have a new command like |
SGTM |
Bikeshedding: the ref string should be containerd/stargz-snapshotter#496 (comment) (We should propose the same ref string convention to Kubernetes, too) |
I think we can consider image ref and OCI Descriptor seperately.
|
@AkihiroSuda WDYT about introducing an optional scheme(
For the compatibility to the current refspec, if the image ref doesn't have the scheme, |
Supporting |
I'll make a draft PR for push/pull in days. How can we support IPFS in |
thx 👍
Can we just have a local OCI registry that proxies OCI Dist Spec requests to IPFS? |
Maybe we can use IPDR (https://github.com/ipdr/ipdr) here. |
Stargz Snapshotter is going to support IPFS soon (containerd/stargz-snapshotter#496).
We have to decide how CLI will look like for nerdctl + IPFS.
Pull & Run
ref: https://docs.ipfs.io/concepts/dnslink/
I think we can just assume that the image ref string is an IPFS multihash when the ref string starts withQm
(EDIT: Only CID v0 always starts with
Qm
. CID v1 does not start withQm
https://docs.ipfs.io/concepts/content-addressing/#identifier-formats)We should propose the same image ref syntax to Kubernetes too.
Push
???
imgcrypt
???
@ktock
The text was updated successfully, but these errors were encountered: