Hacker News new | ask | show | jobs
by LockAndLol 2242 days ago
Hold up... You can pull docker images from ipfs? How?

And do IPNS entries finally last more than 30 seconds? It would be nice to not have to constantly keep a node up just to have an IPNS entry.

3 comments

IPNS records still have a default 24hr lifetime, but republishing your IPNS records is now much MUCH faster, so it should be much cheaper to run a process to republish these regularly. I assume you can also bump up your lifetime to >24hr if you want - but note that will mean nodes not using pubsub (aka getting updates pushed to them proactively) might be slow to get new updates.

Here's what's new for IPNS in the release: https://github.com/ipfs/go-ipfs/blob/master/CHANGELOG.md#ipn...

Self-plug and an experiment only, but here's the blog of how I wrote a Storage Driver for Docker: https://blog.bonner.is/docker-registry-for-ipfs/
> You can pull docker images from ipfs? How?

Like this https://blog.ipfs.io/2020-02-14-improved-bitswap-for-contain...

Note that this is also similar to Kraken[1] from Uber, and Dragonfly[2] from Alibaba. Facebook also does container and artifact distribution using BitTorrent, but I can't find a good reference to it.

[1] https://eng.uber.com/introducing-kraken/

[2] https://d7y.io/en-us/