2

Historically, you can download official community software from a distributed mirror network.

Even for Java Maven, there are two sites globally.

But what is about Docker Hub? What if Docker, Inc. decides to close the Hub or the site will become unstable?

Beyond just having business critical images which you can rebuild and store locally, Docker Hub is also:

  • indicator that a release is official
  • often provides Dockerfile which is very valuable configuration knowledge
  • provides links to backing GitHub projects
  • features like starring and download numbers

Are there other mirrors not hosted by Docker either comparable initiatives so that an open source community would say "ok we can publish our release also there"?

After a short research, I see there are many products to setup your own registry, but not an alternative Hub site.

1 Answer 1

3

With Docker following the Open Container Initiative, in the event that Docker were to disappear, people would still have access to images stored outside of Docker Hub.

While there is not a public mirror of Docker Hub, you do have access to other registries that often store the official image.

For example, if you were to pull the official Docker SQL Server image, you would target mcr.microsoft.com/mssql/server:2019. So even though the image can be searched on in Docker Hub, the image still exists outside of Docker Hub. The three big cloud providers (Azure, AWS, and Google) all have container registries that allow public access. Many of the cloud registries support storing of images in regions and would allow "mirrored" architectures that are transparent to the public and disaster recovery (i.e. end users only pull from one link and the provider routes to an active available registry).

2
  • is it also possible to search and pull images there without being their customer? docker pull mcr.microsoft.com/mssql/server:2019 => manifest unknown
    – Ta Mu
    Commented Feb 6, 2020 at 19:55
  • 1
    @PeterMuryshkin: Yes. The tags are always changing though so you'll want to reference Microsoft's Docs (mcr.microsoft.com/mssql/server:2019-GA-ubuntu-16.04 at the time this comment was made): docs.microsoft.com/en-us/sql/linux/… Commented Feb 6, 2020 at 20:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.