Skip to content

IPFS (nerdctl run /ipfs/QmfTVLXMG9TH7X523NytcXj35XtEDx4wgNWYepVumqpJZV) #465

@AkihiroSuda

Description

@AkihiroSuda

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

$ nerdctl pull /ipfs/QmfTVLXMG9TH7X523NytcXj35XtEDx4wgNWYepVumqpJZV
$ nerdctl pull /ipns/example.com/foo

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 with Qm
(EDIT: Only CID v0 always starts with Qm. CID v1 does not start with Qm https://docs.ipfs.io/concepts/content-addressing/#identifier-formats)

We should propose the same image ref syntax to Kubernetes too.

Push

???

imgcrypt

???

@ktock

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions