Private docker registry with Azure

Rajasekhar 21 Reputation points
2020-07-02T09:04:30.573+00:00

How to integrate the my private docker registry with Azure.

Where can i place private docker registry and test the connection ?

I want use my docker registry instead of ACR.

Docker registry hosted one of physical server (not in Azure)

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

1 answer

Sort by: Most helpful
  1. prmanhas-MSFT 17,901 Reputation points Microsoft Employee
    2020-07-06T09:09:47.523+00:00

    @Rajasekhar-7195 Apologies for the delay in response and any inconvenience caused dude to this issue.

    Answer would depend on whether you are trying to container service in azure or Kubernetes service in azure (AKS).

    In case of container service, you can pass registry information in the az container create command using parameters --registry-login-server, --registry-username and --registry-password. --image is fetched using registry-server specified there.

    In case of AKS, the mechanism would vary in case there is static credentials or dynamic credentials. You can read about how to configure k8s to fetch images from private registry here.

    In case, you can explain about the docker registry, I might be able to provide exact snippet to fetch credentials also.

    Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.

    0 comments No comments