Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why is there no P2P option?

I would be happy to give back to the community by hosting a container p2p host.

would that be even possible out of the box?



There _sort-of_ is. You can pull from registries other than Docker Hub (these can be run by anyone with the will and resources to do so -- GHCR is a popular one), though these may have their own usage restrictions.

You can run your own following Docker's own guide here[0] if you'd like. It's not peer-to-peer in the sense that the lines between clients and servers are blurred, as with torrenting, but it allows for a distributed registry architecture, which I think is the part that matters here.

  [0] https://www.docker.com/blog/how-to-use-your-own-registry-2/


I don't think it would be possible out of the box: Docker pulls assume a direct HTTP download for the image. It would be pretty cool to build a proxy that acts as a torrent client for images however it would be a lot less ergonomic to use on top of the security risk of tags not being checksums.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: