Need to replicate docker image from public cloud to mooncake/fairfax

himanshi jain 0 Reputation points Microsoft Employee
2025-06-04T12:51:54.1333333+00:00

Hi,

My source ACR is in azure public cloud, and I want to pull the docker image to destination ACRs which are in Mooncake and Fairfax clouds. How can I do that? Is there a way other than using EV2 shell extension and ORAS?

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
{count} votes

1 answer

Sort by: Most helpful
  1. Aslam Mohammad 405 Reputation points Microsoft External Staff Moderator
    2025-06-04T15:38:51.4666667+00:00

    Hi himanshi jain

    I understand you want to pull images from Azure Public ACR to Mooncake/Fairfax ACR.

    Please follow the below steps:

    Login to Azure Public Cloud

    az login

    Now login to azure ACR (source ACR)

    az acr login --name <registryname>

    Pull the Image from Public ACR

    docker pull <acr-name>.azurecr.io/<image-name>:<tag>

    Now login into Mooncake and Fairfax clouds (Destination ACR)

    az acr login --name <registryname>

    Docker tag:

    docker tag <old-image-name> <new-image-name>

    docker push:

    docker push <acr-name>.azurecr.<domain>/<image-name>:<tag>

    please refer this document:
    https://stackoverflow.com/questions/74019739/how-to-pull-image-from-existing-azure-container-registry

    If you have any further queries, let me know. If the information is helpful, please click on Upvote.

    Thank you,


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.