# A private Docker registry, hosted for you

CloudRepo is a private Docker registry we host for you, beside your Maven, npm and Python packages. Sign in with a repository token, push and pull with the Docker CLI you already use, and leave the hosting, patching and upgrades to us. Every plan includes unlimited repositories and users, with transfer overage at $120 per TB.

**Every feature on every plan,** from $99/month billed annually.

[Start free trial](https://www.cloudrepo.io/signup) [View setup guide](#setup)

14 days free. No credit card required.

Serving developers since 2016 Founder-run, no venture capital

Log in and push

```
echo "$CLOUDREPO_TOKEN" | docker login your-org.mycloudrepo.io --username you@example.com --password-stdin
docker tag my-app:1.0.0 your-org.mycloudrepo.io/repositories/your-repo/my-app:1.0.0
docker push your-org.mycloudrepo.io/repositories/your-repo/my-app:1.0.0
```

## Included on every plan

Plans differ only in storage and transfer allowance.

- [SSO (SAML, OIDC)](https://www.cloudrepo.io/docs/authenticate/mfa-and-sso.html)
- [Multi-factor authentication (MFA)](https://www.cloudrepo.io/docs/manage/mfa.html)
- [Audit log](https://www.cloudrepo.io/docs/manage/audit-log.html)
- [Repository tokens](https://www.cloudrepo.io/docs/authenticate/repository-tokens.html)
- [Unlimited users, no per-seat pricing](https://www.cloudrepo.io/pricing)
- [Human support](https://www.cloudrepo.io/about-us)
- [Maven](https://www.cloudrepo.io/docs/formats/maven.html), [npm](https://www.cloudrepo.io/docs/formats/npm.html), [Python](https://www.cloudrepo.io/docs/formats/python.html), [Docker](https://www.cloudrepo.io/docs/formats/docker.html) with [Helm charts](https://www.cloudrepo.io/docs/formats/helm.html) and [plain files](https://www.cloudrepo.io/docs/formats/raw.html)
- [Proxy repositories](https://www.cloudrepo.io/docs/consume/proxy-repositories.html)
- Access log
- [SCIM](https://www.cloudrepo.io/docs/authenticate/scim.html)

## What you get

A managed container registry for the Docker CLI, ready from any CI, laptop or cloud.

- **Standard Docker Registry API** CloudRepo speaks the Docker Registry HTTP API V2, so the Docker CLI needs nothing beyond docker login. A build signs in with a repository token from any CI, laptop or cloud, with no cloud account to sign in to.
- **Scoped repository tokens** You sign in with a repository token that reaches the repositories you tick, with Download packages or Download and publish packages access, and you can revoke it without touching anyone's password. For CI, an organization owner or an Admin can also make an organization token (a service key) that reaches the repositories picked when it is made, to download or to download and publish, until the date it ends.
- **Proxy upstream registries** A Docker proxy repository fetches an image from another registry when you pull it and stores a copy of what it fetched in your repository. A Docker proxy can read from Docker Hub, GitHub Container Registry, AWS ECR Public, Quay.io or the Microsoft Container Registry.
- **Public or private repositories** Each repository is public or private. A public Docker repository serves pulls with no credentials at the same address. A push always needs credentials. Mark a repository public for anonymous pulls, or keep it private so every read and write is gated and isolated to your organization.
- **Webhooks** A tag push fires the repository's Upload webhooks, and a tag delete fires its Delete webhooks.
- **Access Log** In the Access Log, the owner sees recent downloads and uploads for each repository, filtered by repository, user or token, and a docker push shows up there by image and tag.

## Setup

Four steps take you from a fresh Docker repository to an image your team can pull.

### Create a repository token

Open the admin portal, go to Repository Tokens, and tick the repositories you want the token to reach with Download packages or Download and publish packages access. The value is shown once, so copy it.

Admin portal

```
# Admin portal -> Repository Tokens -> Create token
```

### Log in to the host

Run docker login against your-org.mycloudrepo.io with your repository token as the password. The user name can be any value; the token you paste at the prompt is what counts. Your portal password is refused at the registry, owner or not.

Terminal

```
docker login your-org.mycloudrepo.io
```

### Tag and push your image

Tag your image with your CloudRepo host, the literal repositories/ segment, your repository name, and the image and tag, then push it. Here are the login, tag and push commands together:

Log in and push

```
echo "$CLOUDREPO_TOKEN" | docker login your-org.mycloudrepo.io --username you@example.com --password-stdin
docker tag my-app:1.0.0 your-org.mycloudrepo.io/repositories/your-repo/my-app:1.0.0
docker push your-org.mycloudrepo.io/repositories/your-repo/my-app:1.0.0
```

### Pull from anywhere

Pull the image from any CI, laptop or cloud using that same reference. A public Docker repository serves pulls with no credentials at the same address.

Terminal

```
docker pull your-org.mycloudrepo.io/repositories/your-repo/my-app:1.0.0
```

One thing is worth reading twice: `docker login` takes the host alone, `your-org.mycloudrepo.io`, while the image reference carries the repository path. Docker keeps one credential per host and drops any path typed at login, so a login with the repository in it still says Login Succeeded. Log in to the host, and let the image reference carry the repository. For more detail on sign-in, see our guide on [docker login for a private registry](https://www.cloudrepo.io/guides/docker-login-private-registry).

### Groups and Helm charts

A group repository is one address that resolves against several member repositories in a priority order you set. A group has no storage of its own, so it is read-only: push to the member repository, and the image is visible through the group.

Pull through a group named `team-registry`:

Terminal

```
docker pull your-org.mycloudrepo.io/repositories/team-registry/my-app:1.0.0
```

## Proxy Docker Hub and other registries

A Docker proxy repository fetches an image from another registry when you pull it, and CloudRepo stores a copy of what it fetched in your repository. CloudRepo serves each manifest and layer of a proxied pull itself, with no redirect to Docker Hub, so the pull talks to CloudRepo alone.

A Docker proxy can read from Docker Hub, GitHub Container Registry, AWS ECR Public, Quay.io or the Microsoft Container Registry. Give the Docker Hub proxy your Docker Hub sign-in. Your builds sign in to CloudRepo alone, with a repository token.

Pull an image through a Docker Hub proxy named `docker-hub`:

Terminal

```
docker pull your-org.mycloudrepo.io/repositories/docker-hub/library/alpine:latest
```

Use the same image name on a `FROM` line:

dockerfile

```
FROM your-org.mycloudrepo.io/repositories/docker-hub/library/alpine:latest
```

Read more in our docs on [Docker Hub rate limits](https://www.cloudrepo.io/docs/ci/docker-hub-rate-limits.html) and [proxy repositories](https://www.cloudrepo.io/docs/consume/proxy-repositories.html), or walk through our [Docker pull-through cache guide](https://www.cloudrepo.io/guides/docker-pull-through-cache).

## Pull images in Kubernetes

In Kubernetes, a pod pulls from CloudRepo with the same login as `docker pull`: your email address and a repository token with Download packages access. Kubernetes keeps the login in a Secret of type `kubernetes.io/dockerconfigjson`, and a pod names the Secret under `imagePullSecrets`.

pod.yaml

```
apiVersion: v1
kind: Pod
metadata:
  name: my-app
spec:
  containers:
    - name: my-app
      image: your-org.mycloudrepo.io/repositories/your-repo/my-app:1.0.0
  imagePullSecrets:
    - name: cloudrepo
```

For the full Secret setup steps, see [pull CloudRepo images in Kubernetes](https://www.cloudrepo.io/docs/consume/docker.html#pull-cloudrepo-images-in-kubernetes).

The Cleanup tab's preview is live today, in early access: choose what to keep and see, image by image, how many tags would go. Nothing is deleted.

## How CloudRepo compares

- **Docker Hub.** The Personal plan includes one private repository, and Docker prices its plans per user on monthly and annual plans. With CloudRepo, every plan includes unlimited repositories and users. Plans differ only in storage and transfer allowance. Transfer overage is $120 per TB, and there is nothing to host, patch or upgrade: we run it for you.
- **Amazon ECR.** On Amazon ECR, clients sign in with AWS credentials, retrieving and decoding a token with the AWS CLI `get-login-password` command to pipe into `docker login`, and pull through cache rules for Docker Hub, GitHub Container Registry and others require authentication with an AWS Secrets Manager secret. With CloudRepo, a build signs in with a repository token from any CI, laptop or cloud, with no cloud account to sign in to. On a Docker Hub proxy, you give CloudRepo your Docker Hub sign-in, and your builds sign in to CloudRepo alone with a repository token.
- **Harbor.** Harbor is installed and run by you, with minimum prerequisites of 2 CPU, 4 GB of memory and 40 GB of disk, 4 CPU, 8 GB of memory and 160 GB of disk recommended, plus Docker Engine above version 20.10 and Docker compose above version 2.3. With CloudRepo, there is nothing to host, patch or upgrade: we run it for you.

Sizing up registries? See [eight private Docker registries compared on price](https://www.cloudrepo.io/articles/private-docker-registry-hosting-comparison), along with our [JFrog alternative](https://www.cloudrepo.io/jfrog-alternative) and [Sonatype Nexus alternative](https://www.cloudrepo.io/nexus-alternative) breakdowns. Teams moving from Nexus or Artifactory also have a docs page on [what their Docker image names become](https://www.cloudrepo.io/docs/migrate/docker-image-names.html), and you can review plans on our [pricing page](https://www.cloudrepo.io/pricing).

## Docs

- **[Docker Repositories](https://www.cloudrepo.io/docs/formats/docker.html)** Full setup guide for `docker login`, pushing and pulling images, proxies and group repositories.
- **[Pull Docker images from CloudRepo](https://www.cloudrepo.io/docs/consume/docker.html)** Pulling images, plus Kubernetes pod configuration.
- **[Docker Hub rate limits](https://www.cloudrepo.io/docs/ci/docker-hub-rate-limits.html)** Configuring a Docker Hub proxy repository with upstream credentials so builds talk to CloudRepo alone.

Every plan includes human support and SSO. [See pricing](https://www.cloudrepo.io/pricing#calculator)

## Moving Docker images from Nexus or Artifactory?

Install the migration tool with one line. Run it with `--dry-run` first: a dry run lists what would move and uploads nothing.

Terminal

```
pipx install cloudrepo-migrate
```

No pipx? In a virtual environment, run `pip install cloudrepo-migrate`.

Follow the guide for your server: [Nexus 3 guide ](https://www.cloudrepo.io/docs/migrate/from-nexus-3.html#docker-images)[From Artifactory or another server: export, then import](https://www.cloudrepo.io/docs/migrate/import-artifacts.html)

## Push your first image today

14 days free. No credit card required.

Starting at $99/month billed annually.

[Start free trial](https://www.cloudrepo.io/signup) [View pricing](https://www.cloudrepo.io/pricing)

![Chris Shellenbarger, founder of CloudRepo](https://www.cloudrepo.io/_astro/chris-headshot-150.DWO5wLdz.jpg)

**Founder-run since 2016, with no venture capital.** A real person answers within one business day. Usually it's me.

Chris, founder of CloudRepo

[Book time with Chris](https://www.cloudrepo.io/meet)

---

The page: https://www.cloudrepo.io/docker
