Questions tagged [acr]
100 questions
7
votes
3 answers
Pull and Push Docker Image task to ACR fails in Azure Devops Pipeline "unauthorized: Invalid clientid or client secret."
Pushing and pulling of image to Azure Container Registry task in Azure DevOps pipeline fails. When tried to pull or push from local system, there's no problem but when tried to do it using the Azure Devops pipeline it fails. Docker login was…

Neoneuron
- 103
- 1
- 2
- 7
5
votes
1 answer
How to attach ACR from different Subscription to AKS?
can anyone know how to attach ACR from different subscriptions to AKS in Azure?
I am looking for any info about that, alas I've found only a topic https://github.com/Azure/AKS/issues/243 where someone said that this is fixed but unfortunately…

Michał Marcinkowski
- 612
- 4
- 20
5
votes
1 answer
Getting the latest image tag from ACR Repository
I need to fetch the latest image tag from Azure Container Registry (ACR) with a bash command in my pipeline and use that tag for container deployment.
Here is what I could find with Azure cli:
$ az acr repository show-tags --name myacr…

Matrix
- 2,399
- 5
- 28
- 53
4
votes
2 answers
Unable to login to ACR with Service Principal - Access denied
I have a Service Principal which has Owner access over a Subscription barring few network actions. In the same subscription I have a resource group where I have created an ACR. I am trying to login to the acr with my service principal and it is…

Apoorva Kulkarni
- 41
- 1
- 2
3
votes
1 answer
Azure Container Registry retention policy
I have an ACR and it contains docker images for my production and development environments. Since every day there are new images being pushed I'm trying to set a retention policy. My exact use case is as below,
According to the image, let's say I…
3
votes
3 answers
ImagePullBackOff with "rpc error: code = Unknown desc = failed to pull and unpack image" from AKS when pulling from ACR
When pulling a service-jenkins custom image from ACR, AKS gives the following error:
Warning Failed 0s (x2 over 31s) kubelet Failed to pull image "XXX.azurecr.io/service-jenkins:latest": [rpc error: code = Unknown desc = failed to…

Parth
- 41
- 1
- 1
- 5
3
votes
1 answer
Helm 3 search shows no result from ACR
Issue itself
Got an Azure Container registry as both image and chart storage. Assume it myacr.azurecr.io with 8 different charts pushed. As far as I read before Azure ACR is capable of storing charts and compatible with Helm 3 (version 3.5.2).
The…

Artem Fomin
- 123
- 8
3
votes
2 answers
Unable to pull new image with AKS and ACR
I'm suddenly having issues pulling the latest image from Azure container registry with AKS (which previously worked fine.
If I run
kubectl describe pod I get:
Failed to pull image : rpc error: code = Unknown desc = Error response…

adrian
- 2,786
- 2
- 18
- 33
2
votes
1 answer
How to get ACR image details that are not used (pulled) for a specific period?
I have two questions regarding ACR image pulling.
Is there a possibility to get the pull count of an ACR docker image?
Can we get the details of docker images that are not pulled for a specific time period? For example, the images that are not…
2
votes
0 answers
Able to pull acr images but unable to check manifest
I want help in understanding how docker pull works for acr images. I have a private acr repository.
So i run az acr login -n --expose-token --output tsv --query accessToken to print out the access token.
Then i use this access token to login…

Pranav Raj
- 781
- 1
- 8
- 19
2
votes
2 answers
Ho can I purge all repository from Azure container registry without entering all repository one-by-ne
I am trying to clean few Azure container registry images from all repository. For now I am entering repository name one-by-one but this looks vary tedious like this.
PURGE_CMD="acr purge --filter 'aag:.*' --filter 'aap_6.0:.*' --ago 1d --untagged…

Den Wahlin
- 55
- 5
2
votes
2 answers
Azure Security center giving high alerts "trusted registries only allowed for container images"
We have AKS and using images from our private acr and dockerhub images. Could see that default security policies applied to the subscription and which giving high security vulnerabilities recommendations for the trusted images. Upon checking…

Vowneee
- 956
- 10
- 33
2
votes
1 answer
How to create a read only access key for Container Registry Azure
I'm on the basic account type on Azure.
I have: A private registry with only one Access Key (Admin one)
I want: To be able to create more access keys with read only (acrpull) access.
Question: Am I reading correct from here:…

Astin Gengo
- 379
- 3
- 17
1
vote
0 answers
error parsing HTTP 403 response body: unexpected end of JSON input: in Azure DevOps Pipeline
While pushing the image to ACR in azure pipelines, I'm getting below error.
a70b11b076fe: Waiting
3ad1014f96c7: Waiting
bca938d9b956: Waiting
5a48accd2033: Waiting
32ee4143301d: Waiting
c73ad13a1488: Waiting
e85f38974196: Waiting
cc7d774b3dd0:…

Nikhil Garepally
- 11
- 2
1
vote
1 answer
Azure Web App (Linux) running old files compare to ACR artefact
WebApp is configured to fetch artefact from ACR as part of CI/CD.
The WebApp seems to be running old file compare to what the ACR artefact has (verified by pulling it down from ACR to localhost).
Have performed following actions:
Restarted…

Abhi
- 11
- 3