---
title: "Download container images through an internal registry mirror"
description: "Set up an internal mirror such as Harbor or Nexus during initialization or in Control Panel, so ARX downloads container images from your internal network, and fix failed connection tests"
canonical_url: "https://docs.ardge.com/en/knowledge/arx-os/registry-mirror"
---
# Download container images through an internal registry mirror

> Set up an internal mirror such as Harbor or Nexus during initialization or in Control Panel, so ARX downloads container images from your internal network, and fix failed connection tests

## Overview

ARX deploys its services as containers, so initialization and system updates download many container images from several public registries. Enterprise environments often run into these problems:

- Security policy doesn't allow devices to connect to external registries directly
- Several devices downloading at once fill the outbound bandwidth, so downloads time out or break off
- Devices on the same network share Docker Hub's anonymous pull quota and hit the limit quickly

If your company already runs an internal registry mirror (such as a Harbor, Nexus or Artifactory proxy cache), set up **Container Registry Proxy** so ARX downloads from the mirror instead. The mirror fetches each image from outside only once, and every other device uses the cached copy.

## What you'll learn

- Confirm which registries the mirror needs to proxy
- Set up the mirror during initialization or in Control Panel
- Read the reasons behind failed connection tests and downloads

**Estimated time: about 10 minutes**, not counting setup on the mirror side

## Applies to

- ARX OS 1.1.0 and later

## Before you begin

- The mirror has a proxy cache set up for each registry it serves, and the ARX network segment can reach it
- If the mirror requires authentication, get an account and password from IT

## What you'll need

ARX downloads images from the default registries below. Confirm the mirror proxies each of them, and note the mirror URL for each:

| Registry | Description |
| --- | --- |
| `docker.io` | Docker Hub |
| `gcr.io` | Google Container Registry |
| `ghcr.io` | GitHub Container Registry |
| `nvcr.io` | NVIDIA NGC |
| `quay.io` | Red Hat Quay |
| `registry.k8s.io` | Kubernetes |
| `registry.ardge.com` | ARDGE Container Registry |

The shape of a mirror URL depends on the product:

- **One proxy project per registry** (such as Harbor) — each registry has its own URL, for example `docker.io` maps to `https://harbor.example.com/dockerhub`
- **One endpoint for several registries** (such as a Nexus group repository) — every registry shares one URL, for example `https://nexus.example.com`

<note>

A registry with no mirror downloads straight from the official registry. If your company blocks all outbound connections, make sure every registry in the table above has a mirror.

</note>

## Step 1: Set up the mirror

Where you set it up depends on the device's state.

### Not yet initialized: set it up in the initialization wizard

1. Go to the **Advanced Settings** page and expand the **Container Registry Proxy** card
2. Choose how to set it up:

   - **Single Mirror** — for a single endpoint that proxies every registry. Enter the mirror URL, plus an account and password if authentication is required
   - **Per Registry** — for a separate mirror per registry. Enter each mirror URL, and click the key icon at the right of a field to set its credentials
3. Click **Next**. ARX tests the connection to every mirror and moves on to **Summary** only if all of them succeed

### Already initialized: set it up in Control Panel

1. Open **Control Panel › Internet Account** and scroll to **Container Registry Proxy**
2. Choose by the shape of your mirror:

   - A separate mirror per registry: click the registry's edit icon, enter the mirror URL and credentials, and click **Save**
   - One endpoint for several registries: click **Batch Apply**, enter the mirror URL and credentials, check the registries to apply it to, and click **Apply**
3. Once ARX's connection test succeeds, the table shows the new mirror URL

![Applying a mirror in a batch](https://docs.ardge.com/screenshots/guide/en/iac-05.webp)

<tip>

To proxy a registry beyond the default list, click **Add Container Registry**.

</tip>

## Step 2: Confirm the settings take effect

The mirror settings are used at the next initialization or system update. Before it starts, ARX tests every mirror again and doesn't start if any is unreachable.

Once `docker.io` has a mirror, ARX stops checking your remaining Docker Hub pulls, because images no longer come straight from Docker Hub.

## Troubleshooting

### The connection test fails

The connection test sends a request to `<mirror URL>/v2/` and fails if there's no response within 10 seconds. If any mirror fails, none of the changes are applied, and the failed registries are listed with their reasons. Check by reason:

- **Can't connect or timed out** — confirm the URL is correct, the mirror service is up, and the ARX network segment can reach the mirror
- **Authentication failed** — confirm the account and password, and that the account can read the matching proxy project
- **Invalid URL format** — a mirror URL must start with `http://` or `https://`

### The test passes, but downloads fail during an update

The connection test only confirms the mirror is reachable, not that it actually proxies the matching registry. If `docker.io` is given a URL that proxies `ghcr.io`, for example, nothing fails until images are actually downloaded. Check with IT that each URL maps to the right registry.

When a download fails, ARX does **not** fall back to the official registry, so your company's outbound connection policy holds:

- **Initialization** — stops downloading and clears the images already downloaded
- **System update** — stops downloading and keeps the images already downloaded, so the next update doesn't download them again

### Switch back to the official registry

Clear the registry's mirror URL and save.

## Related articles

- [What to do when a system update hits the Docker Hub pull limit](https://docs.ardge.com/en/knowledge/arx-os/docker-pull-limit)
- [Internet Account](https://docs.ardge.com/en/guide/advanced/internet-account)


## Sitemap

See the full [sitemap](https://docs.ardge.com/sitemap.md) for all pages.
