Docker Alternatives: On the Lookout for a Container Image Repository for OSS

Docker Alternatives: On the Lookout for a Container Image Repository for OSS

·

5 min read

As a leading containerization service, Docker has been particularly popular across the open-source ecosystem. However, its recent moves have proved controversial enough for some teams to seek Docker alternatives.

Its Q1 2023 announcement of sunsetting the free version of Docker Hub has caused quite a stir in the OSS ecosystem. The change would affect numerous projects and companies relying on them, including CAST AI.

While Docker has clarified its plans, the dust has yet to settle completely. Read on to learn more about the recent change and potential alternatives to Docker Hub.

Why is Docker Hub significant?

Docker Hub1 is the world's largest container image repository. It comes with various content sources, such as container community developers, open source projects, and software vendors.

Docker Hub's free version – Free Team – lets users store, share, and access container images across public repositories. Premium plans also enable creating private repos and restricting content to specific user groups.

The Free Team plan has been particularly popular for open source images because of its business model. OSS initiatives usually scrape for funds, so they liked the ability to upload public images for free while the downloader covered the costs.

As a result, Docker Hub was a popular image repository choice for open source initiatives. While large OSS can strike a deal with enterprise image registries or get support from the likes of RedHat or Oracle, Free Team also attracted smaller projects.

What happened to Docker Hub in 2023?

Suddenly in March 2023, Docker announced plans to discontinue and delete all organizations using its repository's free version. The way the company communicated this message has caused quite an outcry.

Docker sent emails warning users that their accounts would be deleted after 30 days unless they switched to one of the paid subscriptions. This could potentially affect most open-source projects using Docker to host their images – and the deadline was nigh (April 14, 2023).

While the company has a provision for such projects under its open-source program2, it has reportedly not been of much help. The sign-up process isn’t fast and projects must satisfy a range of criteria. According to some accounts, processing applications sometimes takes even more than a year.

The announcement practically meant that OSS wishing to save their images would have to go from paying nothing to a few hundred dollars annually. With many OS initiatives having little to no funding and mainly depending on voluntary contributions, such short deadlines for switching simply didn't add up.

Moreover, as many OSS have published images to Docker Hub in this way for years, the danger of cybersquatting the image and publishing malicious content became real.

A few days later, Docker apologized3 for the lack of clarity in its message. It promised to only remove images if their maintainers decide to delete them and committed to assigning more staff to review requests for OSS support. The company also stated that users with a Free Team organization could migrate to a Personal user account.

While this message reassured many teams that they didn't need to take immediate action, the discussion about Docker alternatives is still up in the air.

Searching for Docker alternatives

The team behind CAST AI depends on many OSS images, so we didn't wish to go dark on April 14. Like many other teams, we started thinking about workarounds.

Luckily, in light of Docker's announcement and its subsequent 'mea culpa', we understood that we wouldn't need to take any action. Phew!

However, we found interesting Docker alternatives in this write-up from OpenFaaS' Alex Ellis4. One of the potential workarounds he outlines is to completely delete your organization on Docker Hub and recreate it as a free personal account. This step should suffice to prevent hostile takeovers of your name.

While large projects can't delete their organizations, smaller initiatives that can tolerate some downtime could try the following steps. First, create a new personal account, and use it to mirror all images from the organization. They could then delete the organization and rename the personal account accordingly.

Another actionable idea is to start publishing to GitHub's Container Registry5, which offers free storage for public images. GitHub is, of course, far from perfect, but with recent developments, including Actions and GHCR, it makes it easier to publish images.

There are also other registries that offer free hosting for open sources, such as GitLab and Quay. Not to mention that you could also host your own registry.

When migrating images, the crane tool by Google's open source office can mirror them much more efficiently than Docker pull, tag and push. Another helpful solution is CNCF's Harbor6, an open source registry that promises to have a mirroring capability.

Summary

Docker Hub is a useful repository for images that support open-source projects. However, the recent sunsetting announcement has unsettled the OSS community, and the discussion about Docker alternatives will likely continue.

Open source contributors already do their best to serve their communities, so they will surely go the extra mile to ensure their projects continue working as required. One way or another, they will find a way forward – and we hope the above list will also be helpful.

Start free today

You will get full access to cloud cost monitoring and optimization insights to reduce your cluster cost immediately and for free.

Create my account

References

Did you find this article valuable?

Support CAST AI by becoming a sponsor. Any amount is appreciated!