We have an azure yaml pipeline configured to create a container instance from a docker image, this was running fine up to 1st July (yesterday) however from 2nd July (today) the following error is thrown in the pipeline:
ERROR: (RegistryErrorResponse) An error response is received from the docker registry 'docker.io'. Please retry later.
Code: RegistryErrorResponse
Message: An error response is received from the docker registry 'docker.io'. Please retry later.
this is the AzureCLI@2 task used to create the container:
- task: AzureCLI@2
name: CreateContainer
displayName: Create container
inputs:
azureSubscription: ${{ parameters.subscription }}
scriptType: bash
scriptLocation: inlineScript
inlineScript: |
az container create \
--resource-group '${{ parameters.resourceGroup }}' \
--name '${{ parameters.name }}' \
--image 'docker.io/mockoon/cli:latest' \
--ports ${{ parameters.port }} \
--location '${{ parameters.location }}' \
--dns-name-label '${{ parameters.name }}' \
--command-line "mockoon-cli start --data '$(publicUrl)' --port ${{ parameters.port }}"
I’ve tried using a different tag e.g. 8.2.0, 8.1.1, same result
I’ve checked the status here https://www.dockerstatus.com/ and its ‘All systems operational’