Hugging Face is now a Docker registry: smaller uploads, bigger images, new digests
Since December 4, Hugging Face accepts Docker images at cr.hf.co, right next to your models. Its own client uploads only the parts that changed, but stores images uncompressed to do it. That means more than twice the storage and new digests. We did the math and compared it with Docker Hub, GHCR and Quay.

What's going on
Hugging Face is best known as a home for AI models and datasets. Since December 4, 2026, the platform also accepts Docker images, the packaged software environments your models eventually run in. The feature is called "Container Repos", and the registry lives at cr.hf.co. You can switch it on in your account or organization settings. Images then sit in the same organization as your models, datasets and Spaces, with the same members, roles and access tokens.
The key question for this comparison: is it worth moving off Docker Hub or the GitHub Container Registry (GHCR)? Hugging Face is pitching faster uploads. But the real trade-off only shows up further down in the documentation: images take up more storage, get new checksums, and are deleted automatically once no tag points to them.
How the upload trick works
A Docker image is made up of layers. Each layer is an archive of files and is addressed by a digest, a checksum that uniquely identifies it. Layers are normally compressed with gzip. Even if only a small part changes, the digest changes too, and docker push re-uploads the entire layer.
Hugging Face tackles this with Xet, its storage system, which splits files into small chunks and doesn't store chunks it already has. That's called deduplication. To make it work for images, the dedicated hf containers client stores layers uncompressed. According to the README, the digest is then the same as the diff_id, the checksum of the uncompressed archive. Hugging Face's example: if a 2 GB layer is rebuilt after a 100 MB dependency update, hf containers push uploads only about 100 MB. docker push re-uploads the whole compressed layer.
With vLLM, that makes a real difference. On the vLLM container page, the layer list shows 9.17 GB for the installed Python dependencies alone and 10.7 GB for the FlashInfer kernels. A patch update in one of those layers means several gigabytes of upload with a classic push.
On download, the client fetches layers over many parallel connections and unpacks them directly, since there's nothing to decompress. According to the README, a missing layer is still downloaded in full on pull. An optional chunk cache makes repeat pulls cheaper but cold pulls slower, and it's off by default.
The catch: more storage and new digests
Uncompressed means bigger. Hugging Face does the math itself: twelve releases of a vLLM image, each roughly 9 GB compressed and 21 GB uncompressed, take up 110 GB via docker push and 250 GB via hf containers. That checks out: 12 × 9 = 108 GB and 12 × 21 = 252 GB. So in this example, chunk deduplication saves upload, not billed storage. According to the docs, each layer counts "at the size it was uploaded". Hugging Face's storage page lists billing on deduplicated data as an Enterprise plan feature.
The real-world numbers are even starker than the example. We checked the sizes on Docker Hub and Hugging Face:
| vLLM image (amd64) | Docker Hub (compressed) | cr.hf.co | Factor |
|---|---|---|---|
| v0.34.0 | 10.04 GB | 25.9 GB | ≈ 2.6 |
| nightly | 10.02 GB | 26.2 GB | ≈ 2.6 |
The vLLM repo on Hugging Face shows 6.1 TB in total with 56.5 percent Xet deduplication. The page doesn't explain exactly how that figure affects billing.
The second catch is digests. Because layers are stored differently, the same image gets a different checksum on cr.hf.co than on Docker Hub. That also applies to images you copy over from Docker Hub, ghcr.io or quay.io with hf containers copy. Two things break as a result:
- Signatures: A cosign signature, a cryptographic signature tied to a specific digest, won't match the copy.
- Pinned deployments: Kubernetes manifests that reference an image via
@sha256:…instead of a tag won't find the image anymore.
The fix is the --preserve-digests flag. Digests stay the same, but you lose deduplication: changed layers are uploaded in full and unpacked again on pull, just like with Docker.
Automatic garbage collection
The third catch: the registry deletes images that no tag points to anymore. Push a new latest, and the old one disappears a few hours later, along with any layers nothing else uses. The docs are blunt about it:
"To keep pulling an image by digest, keep a tag on it."
That's handy for your storage bill, since usage tracks whatever you've tagged. But if you deploy by digest and move tags like latest or stable forward, a running deployment could come up empty on the next pod restart. As far as we know, GHCR and Docker Hub keep untagged images around until you delete them yourself.
The comparison: cr.hf.co, Docker Hub, GHCR, Quay
| cr.hf.co | Docker Hub | GHCR | Quay.io | |
|---|---|---|---|---|
| Storage | Hub storage: 100 GB private (free org) or 1 TB per seat (Team/Enterprise), then $18/TB/month | No GB quota stated, "fair use"; storage billing on hold since Feb. 2025 | "Currently free" according to GitHub, changes with one month's notice | Free for public, paid for private; current pricing unavailable |
| Pull limits | Resolver requests per 5 min.: anonymous 3,000/IP, Free 5,000, PRO 12,000, Team 20,000, Enterprise 50,000 | Per the docs: anonymous 100 per 6 hrs. per IP, Personal 200, paid plans unlimited (fair use) | Anonymous pulls allowed, no documented limits | No figures published |
| Egress | Included in plan, up to an 8:1 ratio to storage on Team/Enterprise | Fair use | Currently free | Quotas possible for "excessive" use |
| Max. layer | 100 GB | not documented | 10 GB, 10 min. upload timeout | not determined |
| Upload only changed parts | yes, only with hf containers |
no | no | no |
| Untagged images | deleted automatically | kept | kept | – |
Docker Hub's own information is contradictory: the pricing page lists 100 pulls per hour for Personal accounts, while the docs say 200 per six hours. For price comparison: Docker Team costs $15 to $16 per user per month, Hugging Face Team $20.
On egress, meaning the data downloaded from the registry: as we read the docs, a regular docker pull of an image pushed with hf containers downloads the uncompressed layers. For the vLLM image, that's just over 26 GB instead of 10 GB. That hits both your bandwidth and your egress allowance. The docs don't say whether Xet compresses in transit. The size of the allowance is unclear, too. If the 8:1 ratio refers to storage used, the 250 GB from the vLLM example would give you 2 TB a month, or roughly 77 pulls of the 26 GB image. If it refers to the included storage of a 10-person team, it would be 80 TB. The page doesn't say.
As for rate limits: pulls count as resolver requests. A cluster pulling anonymously behind a shared NAT address shares 3,000 requests per five minutes. That's why Hugging Face recommends a pull secret with a token, even for public images.
Running the numbers: what does the difference cost?
In hard cash, the storage premium is small for paying teams. An extra 140 GB costs about $2.50 a month at $18 per TB. On a 10-person Team account with 10 TB of included storage, it costs nothing at all. Things get tight in a free organization with 100 GB of private storage: with docker push, you can fit about eleven vLLM releases (11 × 9 = 99 GB); with hf containers, only four (4 × 21 = 84 GB). Even compressed, Hugging Face's own twelve-release example doesn't fit.
We haven't been able to run our own push and pull measurements for this article yet. We also haven't found any independent benchmarks so far: there are no meaningful hands-on reports on Hacker News or Reddit. The client's GitHub repo has no open issues and no releases yet. AlphaSignal also notes that apart from the 2 GB example, no measured throughput figures exist. Coverage so far, like Digg's, mostly stresses one point:
"Less upload doesn't automatically mean a smaller bill."
Technical hurdles and who's already there
The client requires Docker with the containerd image store, a newer way for Docker to store images locally, on Linux or macOS. Windows isn't supported. On fresh installs of Docker Engine 29 and later, the containerd store is the default. If you upgraded from an older version, you'll have to turn it on yourself. According to Docker's docs, your existing local images are then hidden until you switch back. Only hf containers copy works with the old store. For GitHub Actions, there are "Trusted Publishers": the job exchanges its OIDC token for a Hub token that's scoped to that one repo and expires after 60 minutes.
Hugging Face calls the vLLM repo the "official vLLM container page". It has 50 tags from v0.29 through the nightlies, plus dedicated nightly variants with CUDA 13.5 and EFA. The vLLM documentation, however, still points only to Docker Hub. When we checked, the nightly image on Docker Hub was from the same day, while the one on Hugging Face was two days old. For now, Docker Hub remains the primary source.
The infrastructure explains the move. On November 20, Clem Delangue and Thomas Wolf said Hugging Face serves almost an exabyte a month through a CDN it has run in-house since the summer, at around 420 GB per second and 80,000 requests per second. The math adds up: 420 GB/s over 30 days comes to about 1.1 exabytes. The figures haven't been independently verified. For Hugging Face, containers are the next big file type that network is meant to deliver.
Our verdict
Our take: cr.hf.co makes sense for AI teams that already work on Hugging Face, rebuild large GPU images often, and use tags as references. That fits the pattern Daniel van Strien describes: a coding agent builds an image on HF Jobs and pushes it straight to the Container Repo. The 100 GB layer limit is also a real advantage over GHCR's 10 GB.
We'd advise against it for teams with signed supply chains, digest pinning in Kubernetes, or admission policies that verify signatures. For them, moving only makes sense with --preserve-digests, and then the main benefit is gone. For free organizations with large CUDA images, storage is too tight. And if you rarely change your images, you'll barely benefit from the upload trick anyway. GHCR is currently free, and Docker Hub offers unlimited pulls on its paid plans.
Lock-in stays low, because the images remain standard OCI and any client can pull them. But you only get the speed advantage with Hugging Face's own client. What's still unclear is how egress and rate limits play out for large clusters in practice. Hugging Face needs to clarify that.
Sources
- Hugging Face Docs: Container Repos huggingface.co
- GitHub: huggingface/hf-containers github.com
- Hugging Face: vLLM-Container-Repo huggingface.co
- Hugging Face: vLLM-Tag v0.34.0-x86_64-zstd huggingface.co
- Hugging Face Docs: Rate limits huggingface.co
- Hugging Face Docs: Storage limits huggingface.co
- Hugging Face: Storage-Preise huggingface.co
- Hugging Face: Pricing huggingface.co
- Hugging Face Docs: Download Analytics huggingface.co
- Hugging Face Changelog huggingface.co
- Docker Docs: Docker Hub usage and limits docs.docker.com
- Docker Pricing docker.com
- Docker Docs: containerd image store docs.docker.com
- Docker Hub API: vllm/vllm-openai v0.34.0 hub.docker.com
- vLLM Docs: Using Docker docs.vllm.ai
- GitHub Docs: Working with the Container registry docs.github.com
- GitHub Docs: GitHub Packages billing docs.github.com
- The Register: Docker delays Hub pull limits, stalls storage billing theregister.com
- Digg: Hugging Face launches Container Repos digg.com
- AlphaSignal: Hugging Face Launches a Container Registry That Uploads Only Changed Data alphasignal.ai
- AICoder: Hugging Face Runs Its Own CDN – nearly 1 exabyte per month aicoder.com
Ask the AI assistant
Questions about this article, installation or background? Our assistant knows this page and runs on our own machine, not in someone else's cloud.
The Assistant is an AI (Gemma 4) and can make mistakes – please check important details against the source. Questions are used only to generate an answer and are deleted after one hour. Please don't enter any personal data.
Comments
What do you think? Already tried it? Write it here, no sign-up needed.
Comments are public. Links aren't allowed, and we delete abusive posts. You can delete your own comment at any time in this browser. Learn more in the Privacy Policy.