I have created an Azure Container registry and azure web app for containers and publish my code in it. After that, I have created a CICD pipeline using Azure. Build and release pipelines are passed successfully. But on browsing the application, it is showing 'unauthorized: authentication required' error.
2020-07-14T12:24:42.737Z INFO - Pulling image from Docker hub: api.azurecr.io/api 2020-07-14T12:24:43.270Z ERROR - DockerApiException: Docker API responded with status code=InternalServerError, response={"message":"Get https://api.azurecr.io/v2/api/manifests/latest: unauthorized: authentication required, visit https://aka.ms/acr/authorization for more information."}
Do I need to create a repository in the docker hub? What is the problem here?