Proxy Repositories
A proxy repository gives your builds one CloudRepo address for a public repository such as Maven Central. CloudRepo provides proxy repositories for Maven, npm, Python, Docker, Go and yum. Go and yum proxies are in early access.
The first request for a dependency fetches it from the upstream repository, and CloudRepo stores a copy in your repository. You can delete the copy, and the next request fetches it from the upstream again.
Copies that a proxy repository keeps from its upstream count toward your storage. You can clear a proxy’s cache at any time.
A Maven proxy treats its stored copy of maven-metadata.xml and its checksums as current for 60 minutes. After that, it asks the upstream for a newer one, and keeps serving the stored copy if the upstream cannot answer.
Need a cache on your own network? CloudRepo On-prem Edge is the on-prem cache we’re building for your CloudRepo repositories. Register for early access.
Creating a Proxy Repository
Section titled “Creating a Proxy Repository”Creating a proxy repository works the same as creating a hosted repository: choose Proxy as the Kind, then pick the upstream under Upstream. Maven Central, Docker Hub, npmjs.com and pypi.org are chosen for you, and the upstream’s URL shows under the list.

Supported Remote Servers
Section titled “Supported Remote Servers”A proxy repository pulls from one upstream, chosen from this list.
Maven:
- Maven Central (
https://repo.maven.apache.org/maven2/): the default public repository for Java and JVM libraries. - Apache Snapshots (
https://repository.apache.org/snapshots/): Apache Software Foundation snapshot builds of its projects. - Atlassian (
https://maven.artifacts.atlassian.com/): Atlassian’s public Maven repository for its SDK and plugin artifacts. - Clojars (
https://repo.clojars.org/): the community repository for Clojure libraries. - Cloudera Repositories (
https://repository.cloudera.com/content/groups/cloudera-repos/): Cloudera’s repository of its Hadoop-ecosystem artifacts. - Confluent (
https://packages.confluent.io/maven/): Confluent’s repository for Kafka client and Confluent Platform libraries. - Google Maven (
https://maven.google.com/): Google’s repository for Android and Jetpack libraries. - Gradle Plugins (
https://plugins.gradle.org/m2/): the Gradle Plugin Portal’s Maven-layout repository of Gradle plugins. - Grails Core (
https://repo.grails.org/grails/core/): the Grails project’s core artifact repository. - Jahia (
https://maven.jahia.org/maven2/): Jahia’s Maven repository for its CMS modules. - JBoss Public (
https://repository.jboss.org/nexus/content/groups/public/): the JBoss community’s group of public artifacts. - JBoss Releases (
https://repository.jboss.org/nexus/content/repositories/releases/): JBoss released artifacts. - JitPack (
https://jitpack.io/): builds artifacts on demand from GitHub repositories. - LifeRay Public (
https://repository.liferay.com/nexus/content/repositories/public/): Liferay’s public repository of portal artifacts. - Mulesoft Public (
https://repository.mulesoft.org/nexus/content/repositories/public/): MuleSoft’s public repository of Mule artifacts. - Red Hat GA (
https://maven.repository.redhat.com/ga/): Red Hat’s repository of generally available product artifacts. - Spring Milestones (
https://repo.spring.io/milestone/): Spring’s milestone and release-candidate builds. - Spring Snapshots (
https://repo.spring.io/snapshot/): Spring’s snapshot builds.
JitPack builds artifacts from GitHub repositories on demand, so a JitPack proxy serves what JitPack built from a repository’s source. Choosing JitPack as an upstream means trusting JitPack and the owner of each repository you depend on through it.
npm: npmjs.com (https://registry.npmjs.com, the default), npmjs.org, GitHub Packages and
jsDelivr.
Python: pypi.org (https://pypi.org).
Docker:
- Docker Hub (
https://registry-1.docker.io): the default public registry for container images. - GitHub Container Registry (
https://ghcr.io): GitHub’s registry for container images. - AWS ECR Public (
https://public.ecr.aws): Amazon’s public container registry. - Quay.io (
https://quay.io): Red Hat’s public container registry. - Microsoft Container Registry (
https://mcr.microsoft.com): Microsoft’s registry for its official images.
Only a Docker Hub proxy adds library/ to an image name with no slash. Through the other registries, pull an image by its full name, such as prometheus/prometheus on Quay.io or dotnet/runtime on the Microsoft Container Registry.
Go (early access): proxy.golang.org (https://proxy.golang.org). See Pull Go modules through CloudRepo.
yum (early access): one repository folder on download.opensuse.org (openSUSE), dl.rockylinux.org (Rocky Linux) or dl.fedoraproject.org/pub/epel (EPEL). See Pull Linux packages with zypper and dnf.
Don’t see a remote server that you need? See Adding Additional Remote Repositories.
Adding Additional Remote Repositories
Section titled “Adding Additional Remote Repositories”Need another upstream repository? Tell us. We add what customers ask for, fast.
Upstream Credentials
Section titled “Upstream Credentials”Docker Hub limits how often anonymous users and Docker Personal accounts can pull. If your builds run into the limit, add your Docker Hub credential to the proxy repository. Docker Hub then counts the pulls CloudRepo makes for that repository against your account, not as anonymous pulls. Docker explains its limits on Docker Hub pull usage and limits.
Docker proxy repositories can authenticate to the upstream registry rather than pulling anonymously. Supplying your own credential lets the proxy pull as your account at that registry, including images that are private to it.
Upstream credentials apply to Docker proxy repositories. The proxy fetch path for Maven, npm and Python does not present a credential, so no credential fields are offered for those formats. The Microsoft Container Registry is public, so no credential is needed: a proxy of it pulls anonymously, the Create repository form offers no credential fields for it, and CloudRepo refuses a credential for it.
Where a credential can live
Section titled “Where a credential can live”A credential can be attached in two places:
When you create the proxy repository. For a Docker proxy, the Create repository form has an Upstream sign-in row (optional). Open it to type the username and access token.
On one repository. Open the repository, then Settings → Upstream Credential.
Which credential a pull uses
Section titled “Which credential a pull uses”Resolution runs in this order, and the repository’s own Settings page names the winner for that repository:
- The repository’s own upstream credential, if one is set.
- Anonymous.
Setting, rotating and removing
Section titled “Setting, rotating and removing”Setting and rotating are the same action, and both replace the credential completely: supply the username and the access token in full. There is no half to keep: CloudRepo stores the access token encrypted and does not return it, so it cannot be shown, copied, or partially updated. The portal shows only that a credential is stored, and the username it was stored with.
Use a personal access token where the registry issues them, rather than your account password.
Removing a credential leaves the repository proxying. It simply stops authenticating and falls back to the next entry in the order above.
Public repositories always pull anonymously
Section titled “Public repositories always pull anonymously”A public proxy repository never presents an upstream credential, so a public repository’s pulls never reach the upstream registry under your account.
CloudRepo enforces this in both directions: a repository that stores an upstream credential cannot be made public, and a public repository cannot store one. To authenticate a repository’s pulls, turn off Public Access first.
A Docker proxy can be made public only once its cache is empty. Clear its cache first, then turn on Public Access.
Connecting to Proxy Repositories
Section titled “Connecting to Proxy Repositories”Uploading to Proxy Repositories
Section titled “Uploading to Proxy Repositories”Uploading to a proxy repository is not permitted, from a build tool or from the Admin Portal: a proxy holds only what it fetched from its upstream.
Connecting Maven Clients to Proxy Repositories
Section titled “Connecting Maven Clients to Proxy Repositories”A proxy repository is read like any other repository of its format. See Maven Repositories, npm Repositories, Python Repositories, Docker Repositories, Go and yum. To install from a Python proxy with Poetry, see Install through a proxy repository.
Removing Cached Dependencies
Section titled “Removing Cached Dependencies”You can delete dependencies from a proxy repository just like any other artifact. The next request fetches the file from the upstream again. See deleting files and folders for details. A deleted proxy file doesn’t go to Trash. If you need a file the upstream no longer has, contact us within 30 days and we’ll restore it.
Clear a proxy’s cache
Section titled “Clear a proxy’s cache”Clearing a proxy’s cache removes every file the proxy has cached, and its record of files the upstream did not have. The repository, its settings and its upstream credential stay as they are.
When a pull asks a proxy for a file its upstream does not have, the proxy can remember that miss for up to an hour and answer not found without asking the upstream again. So a file published upstream just after such a miss can still answer not found through the proxy. Clearing the cache ends that hour: the next pull of the file asks the upstream again.
To clear a proxy’s cache:
- Open the proxy repository’s settings page in the Admin Portal.
- Under Danger Zone, click Clear Cache.
- Type the repository’s name, click Clear Cache, and confirm your identity.
The portal tells you when the clear has started, and the files are removed in the background. The next pull of each file fetches it from the upstream again.
What clearing does not do:
- Cleared files don’t go to Trash. The next pull fetches each one from the upstream again. If you need a file the upstream no longer has, contact us within 30 days and we’ll restore it.
- It does not keep a file uploaded directly into the proxy before July 30, 2026. That file is removed too.
- It does not remove the proxy from a group repository. A group that includes the proxy keeps serving through it, and fetches each file through the proxy again on its next request.
Clearing a cache needs the Manage repositories permission. One clear or bulk delete runs on a repository at a time, and an organization runs at most five at the same time.