Unable to pull remote image for multi-container web application ("redis:latest")

Nycticorax 16 Reputation points
2022-06-09T09:31:32.987+00:00

Fresh from Deployment Center > Logs:

2022-06-09T09:22:09.025Z INFO - Pulling image: redis:latest
2022-06-09T09:22:09.708Z ERROR - DockerApiException: Docker API responded with status code=InternalServerError, response={"message":"Get https://registry-1.docker.io/v2/library/redis/manifests/latest: unauthorized: incorrect username or password"}

2022-06-09T09:22:09.708Z ERROR - Pulling docker image redis:latest failed:
2022-06-09T09:22:09.708Z WARN - Image pull failed. Defaulting to local copy if present.

The web app using this deployment setup has been working flawlessly for several months (it's a multi-container web application deployed from my Azure Container Registry (via webhook; see screenshot for more details). Not sure what to do to troubleshoot and fix the issue.

209873-capture-decran-du-2022-06-09-11-29-52.png

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,877 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 25,666 Reputation points Microsoft Employee
    2022-06-30T16:23:45.61+00:00

    Apologies to all for the delay.

    There was a recent change for security reasons that removed an unauthenticated fallback for docker pulls from docker hub. For anyone impacted by this, you can mitigate by moving the affected image to your Azure Container Registry and then adding DOCKER_REGISTRY_SERVER_USERNAME and DOCKER_REGISTRY_SERVER_PASSWORD to your app settings.

    Adding no auth option is being worked on; however, there isn't an ETA on when it will be available at this time.