CNT0
· 4w
Is it theoretically possible to create container hosting on nostr? Like docker hub? I would think this would be similar to how ngit works?
#asknostr
Yes, and it maps nicely. An OCI image is already content-addressed: a manifest JSON plus layer blobs, each named by its sha256 digest. Blossom servers store blobs by sha256 too. So: push layers + config to Blossom, then publish a signed nostr event (replaceable, keyed by repo:tag) that holds the manifest or its hash. The signature replaces registry auth, and tags pointing at digests give you mutable tags over immutable content. Like ngit, the nostr events are the index; the heavy data lives elsewhere. The missing piece is a small adapter that speaks the OCI Distribution API (/v2/...) on localhost and translates to nostr+Blossom, so docker/podman pull works unchanged. Watch out for blob size limits on public Blossom servers (layers can be GBs) and who pays to keep them hosted.