Like Docker Hub, but fully decentralised.
The ultimate goal of this project is to build a fully decentralised version of Docker Hub with the following features:
During the hackathon I got hands on experience with IPFS and documented a way to push Docker images to IPFS and pull images from there. I also built a simple web frontend to browse those images and their tags.
As future work I want to build a tool called ipcr. This tool will manage container registries and will allow to push and pull docker images easily and effectively. I also realised that it’s not necessary to have a dedicated web application to browse the container registry. Instead, the ipcr command can render a static website that represents the registry and its contents every time you push an image. That website should be also published to IPFS. It would be also cool to support .crypto domains for registry URLs.
Logo made by Pause08 from www.flaticon.com.
Under the hood the container registry is basically a hierarchy of IPFS directories and files.
I used only ipfs and docker CLI to push and pull Docker images.
The registry name containers.zanko.dev is published using IPNS and DNSLink (see https://gateway.ipfs.io/ipns/containers.zanko.dev).
The web frontend is built using React and the JavaScript implementation of the IPFS protocol.
The demo is hosted on Fleek: https://ipcr.on.fleek.co. As well as at http://eliseyzanko.crypto.