Deploy a Proxy Cache#
- Log in to the MSR web interface as an administrator.
- From the left-side navigation panel, select Administration > Registries.
-
Click + New Endpoint, and configure the following settings:
Parameter Required action Provider Type Select Harbor. Endpoint Name Enter a descriptive name that identifies the endpoint purpose, such as US-West Registry or Production Cache. Description Optional: Provide additional context for the endpoint. Endpoint URL Enter the full URL of the target registry, for example: https://example-registry.com.Access ID Enter the username used to authenticate with the remote registry. Access Secret Enter the password associated with the account used to access the remote registry. -
Click Test Connection to verify network connectivity and credentials. A success message confirms that MSR can reach the endpoint.
- Click Save to create the registry endpoint.
- Go to Projects, click New Project, and enter a name for the project.
- Enable Proxy Cache, and select the registry endpoint from the list that displays.
- Click OK to create the project.
-
Update image pull commands to use the proxy cache path.
-
Pull an image directly from the registry:
docker pull <Registry URL>/ubuntu/ubuntu:latest -
Pull the same image through the proxy cache:
docker pull <Registry URL>/proxy_cache/ubuntu/ubuntu:latest
-