Hi @Siddu Lavula,
Thanks for contacting Microsoft Q&A platform.
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.
Hope this helps you.