Hugging Face announced Container Repos on December 4, 2026, bringing Docker and other OCI images alongside models, datasets and Spaces on the Hub. Its documentation lists cr.hf.co as the registry, with images sharing an organization’s existing members, roles, visibility and access tokens. One fewer registry account to babysit. SourceSource
The docs say plain docker push works here, but it doesn’t magically become a changed-chunk uploader. Source
The upload shortcut needs the right setup
According to Hugging Face’s documentation, its recommended hf containers client stores image layers uncompressed on the Xet storage backend. When an image is rebuilt, Xet can recognize reusable chunks, so the client uploads changed portions rather than sending an entire rebuilt layer again. The client is an extension of the Hugging Face CLI, installed with hf extensions install hf-containers, and requires Docker with the containerd image store on Linux or macOS. Source
With docker push, a rebuilt layer whose digest has changed is uploaded in full, compressed. That doesn’t mean Docker resends every layer in the image. Source
The documentation also says hf containers pulls layers over multiple connections and unpacks them as they arrive, without decompression. Source
The upload diet doesn’t extend to storage
By default, uncompressed layers use more storage and produce different image digests than docker push, according to the docs. Those identifiers matter for signatures and deployments pinned to a particular digest. Source
There is an escape hatch: hf containers push --preserve-digests keeps the Docker digests. It also gives up the changed-chunk upload benefit for rebuilt layers: a changed layer uploads in full, and pulls require decompression. Source
In Hugging Face’s illustrative example, rebuilding a 2 GB layer after changing 100 MB of dependencies could require roughly 100 MB of uploads if Xet can reuse the remaining chunks. That rebuilt layer still counts as 2 GB toward organizational storage. Each repository counts a layer once regardless of how many tags or images use it, at its pushed size. Smaller transfers are not the same thing as billing only for new chunks. Source
Before the first push
The docs say to enable Container Repos in personal or organization account settings, then create the repository before pushing. An initial push won’t create it for you. Images count toward the organization’s Hub storage, and pulls count toward the plan’s egress allowance; “no separate registry bill” does not mean unlimited hosting. Source
The registry automatically deletes images that no tag references, directly or through a multi-architecture image, according to the docs. Hugging Face’s advice for images you want to keep pulling by digest: keep a tag on them. Pinning the digest is not, by itself, a reservation. Source
Comments