Questions tagged [azure-container-registry]
Manage a Docker private registry as a first-class Azure resource.
556
questions
0
votes
0
answers
9
views
Not able to get the list of azure repository using python
I’m newbie to azure, trying to list the repositories in azure container registry using client id, tenant id, secret using below code.
from azure.containerregistry import ContainerRegistryClient
from ...
-2
votes
1
answer
30
views
Which tool should i use for a Mysql Database? [closed]
Currently i'm working on an app web project architectured in an Azure environnement (im a neophyte), and here's my question:
I got to deploy a new database for the prod env, but i'm struggling in the ...
0
votes
0
answers
19
views
aks north europe slow pull or pod restart [closed]
in my azure infra have 2 cluster aks in active mode, one in west europe and one in north europe. Both clusters have same configuration, sku, pool size (Standard_E4s_v4). Both cluster pull image from ...
0
votes
1
answer
58
views
Getting "not a git repository" when tying to run "az acr build"
I've been studying Azure Container Registry and I'm using Microsoft's documentation. Right now I'm trying to follow theses steps: https://learn.microsoft.com/en-us/training/modules/publish-container-...
0
votes
1
answer
50
views
Sync docker images from artifactory to ACR
Is there a way I can push images from artifactory to ACR or pull it from ACR to artifactory anytime there is a new image:tag available in artifactory
Tried pipelines but no luck. Appreciate if anyone ...
0
votes
1
answer
66
views
Nginx ingress basic auth doesn't work with AKS
I was following https://kubernetes.github.io/ingress-nginx/examples/auth/basic/ to set basic auth for my service in AKS running behind Nginx ingress
I have the following secret:
apiVersion: v1
kind: ...
3
votes
1
answer
218
views
How to provide access of ACR to Azure container apps which are not in same network group?
I have ACR i.e., myregistry in production-network-group and I was creating container apps in dev-network-group, uat-network-group and prod-network-group.
Currently, I was trying to connect with ...
1
vote
0
answers
37
views
Azure Kubernetes Service, Access repository (A) from another repository (B) [closed]
Suppose we have repositories (A, B) in the same container registry.
I need to have repo (A) as a dependency inside rep (B). Or I should be able to access repo A.
From repository (B), I need to access ...
0
votes
2
answers
40
views
Deploy of 2 Docker images on Azure App Service
I have this problem with app service.
I have an Azure Container Registry with 2 repositories. One contains the Docker image of an API, and the other contains the Docker image of the frontend.
I have ...
0
votes
0
answers
40
views
Which docker images were pulled from Azure container registry by Azure pipelines?
For cleaning up space in our Azure Container Registry I want to know which Docker images were pulled the last time and in addition how often they have been pulled for a given amount of time.
The ...
1
vote
0
answers
99
views
How can I set "Azure Pipelines" in Azure Web App settings using terraform and azurerm provider?
I created a linux web app on azure using terraform, I would like to run a container inside it and I would like the image to be released via azure pipeline.
This is my app service module in terraform
...
0
votes
1
answer
60
views
Creating a +50Gb Docker image and then running the container on an Azure Service?
I'm trying to containerize an opensource llm. I finally managed to create a docker image of it inside a VM since it was the only place with enough memory for it. However, the image is 50 Gb and more, ...
0
votes
1
answer
109
views
ContainerApp deployment fails in Bicep: Failed to provision revision for container app
Container App
resource containerApp 'Microsoft.App/containerApps@2023-04-01-preview' = {
name: containerAppName
location: location
identity: {
type: 'SystemAssigned'
}
properties: {
...
0
votes
1
answer
50
views
Container registry not showing up in azure when creating a workload
I am trying to create a workload on AKS using the web portal. I have done this successfully on my one AKS cluster. However I have made a new one, and it refuses to show me the available ACR (...
0
votes
0
answers
99
views
AzureDevops VMSS agent not able to connect to private ACR with private endpoint
I have set-up private ACR set up with public access and admin credentials disabled.
It has a private endpoint approved ,setup with private connection,private dns zones configured.
The private ...
0
votes
1
answer
50
views
Docker image deploys successfully to ACR, but Web API wont run
I have the following work flow file within GitHub action, this work flow file creates a docker image from my Web API project and uploads to Azure Container Registry
name: Build and Deploy Docker Image ...
0
votes
1
answer
25
views
How generate passwords when creating a token for Container Registry auth
I'm trying to generate a new auth token with beginCreateAndWait, but passwords are not being generated with the token, I'm getting an empty array in token.credentials.passwords and when looking in the ...
2
votes
1
answer
127
views
azure bicep to create a container app with an image from secure registry
I would like to create an azure container app that pulls its image from an existing azure container app registry that sits in a different subscription.
My main bicep:
creates a user assigned managed ...
0
votes
1
answer
48
views
Assign User Identity to Azure Container Registry using Azure Powershell
How do I assign an User Identity to Azure Container Registry using Azure Powershell. I dont know a command specific to achieve this in here.
Result should look like:
0
votes
1
answer
68
views
Azure ContainerApps YAML registry identity
I am trying to spin up an Azure ContainerApp service via a YAML configuration file. The problem is with the following block:
registries:
- passwordSecretRef: null
server: xxx.azurecr.io
...
0
votes
0
answers
99
views
How to push Apache Airflow containers to Azure Container Registry
I followed the tutorial to get Airflow running locally using Docker Compose here but now I want to get it running in Azure using containers.
There's no tutorials for this in the Airflow documentation, ...
0
votes
1
answer
219
views
Unable to update image of containerApp with az up command
I have a containerApp built with a default public image through a bicep script.
I assign a system managed identity to the containerApp. I have assigned AcrPull role to the identity on the ACR private ...
0
votes
1
answer
70
views
AKS Kubernetes job not able to recognise the image tag 'latest'
I am running a single kubernetes job , below is the yaml:
apiVersion: batch/v1
kind: Job
metadata:
name: pi
namespace: default
spec:
template:
spec:
imagePullSecrets:
- name: ...
0
votes
1
answer
79
views
Azure App Service deployment via Container Registry - Issue, Image not running properly
I have the following Dockerfile setup below (PHP / Nginx / Laravel) and this works locally just fine. After building I'm able to run the image by:
docker run -d -p 80:80 mycontainer.azurecr.io/casapi:...
0
votes
1
answer
168
views
AzureContainerApps@1 task fails with Unable to authenticate against ACR instance
I am trying to update a containerApp from a dockerimage in ACR built in previous step through Azure DevOps pipeline running with VMSS agent. The variable
acrContainerRegistry contains value myregistry....
0
votes
1
answer
69
views
Can't deploy docker image based application to Azure Spring Apps
I'am trying to deploy a sprig boot application to Azure Spring Apps based on a image stored in Azure Container Registry using Azure CLI using this commands:
az spring app deploy \
--resource-group ...
0
votes
1
answer
152
views
Can't access logs stream of an container from Azure Container Apps
I'am deploying an application to Azure Spring Apps via Azure CLI from a docker image which is present in the Azure Container Registry:
az spring app deploy
-n <application-name>
-s <service-...
0
votes
1
answer
190
views
How to move ACR from one subscription to another subscription
I have 3 ACR (All are in Seperate Subscription,Seperate Resource Group Name) and region is same.
I tried to import Repositores from ACR1-->ACR3 or ACR2-->ACR3.
I used below commands in ...
1
vote
0
answers
150
views
unauthorized: authentication required (Failed to get dockerfile path for image...)
I have a github workflow pipeline that builds and deploys an image to Azure Kubernetes Cluster.
The workflow runs and shows that the build and deploy is successful but when I expand the steps in the ...
0
votes
1
answer
94
views
Azure Container Registry - SubscriptionNotFound error when pushing Docker image
I'm trying to push a Docker image to an Azure Container Registry, but I'm encountering a "SubscriptionNotFound" error. I have followed the necessary steps to set up the Azure Container ...
0
votes
1
answer
88
views
Aks update workload to new image
I am running an azure Kubernetes Service (AKS).
I have deployed an image to the azure container registry.
And the workload shows there.
But now I have to change some settings or update the code. I ...
0
votes
2
answers
275
views
Azure Container Registry Webhook to App Service 401
I have an Azure App Service that pulls a container image from an Azure Container Registry (ACR) when the App Service starts. I'm trying to have an ACR Webhook notify the App Service that a new ...
0
votes
1
answer
70
views
How to sort JSON on DateTime in Powershell
$registryName ="abc"
$latestTag = "xyz"
$registryList = az acr repository list -n $registryName | ConvertFrom-Json | ForEach-Object
{
$tagDetail = (az acr repository show-tags -...
0
votes
0
answers
59
views
Bicep scripting out for Azure web application running a container using docker compose
I am currently running sonarqube using a container, my experience of containers is quite limited. However having done a lot of reading, here is where I am currently stuck.
I am running the docker ...
0
votes
0
answers
240
views
The docker image digest is different after the image is pushed to an Azure Container Registry (ACR)
I have an image on my machine:
mark@L-R910LPKW:~$ docker image ls --digests | grep debug
MyACR.azurecr.io/argoproj/argocd debug sha256:...
0
votes
1
answer
245
views
Error while pushing Docker image on Azure Container Registry
I am getting below error when I run docker push command on my Azure Linux server,
The push refers to repository [prio.azurecr.io/prio-adi-piplines]
ea8e4df76021: Preparing
48b104cbbb7b: Preparing
...
0
votes
0
answers
43
views
Issue with pushing certain layers (received unexpected HTTP status: 503 Service Unavailable)
I'm trying to push an image to an acr repo by following the instructions on this page: https://learn.microsoft.com/en-gb/azure/container-instances/container-instances-tutorial-prepare-acr
After ...
0
votes
1
answer
927
views
How can I force an azure Web app to re-pull its container?
I have pushed a container update to a private ACR. My webapp is configured with the registry's admin credentials, and to pull the image tagged "latest". According to Step 2 in Part 6 of ...
1
vote
1
answer
486
views
Configuring Azure App Service to pull from ACR, but nothing works and no Deployment logs
I'm trying a simple deployment of a Docker image with a hello world Python flask app, which I've pushed to ACR successfully. I've tried configuring the App Service to pull from ACR in many different ...
0
votes
1
answer
104
views
Publish Bicep module gives "The specified module reference scheme "'br" is not recognized"
I'm trying to store a Bicep module in a Container Registry and follow the steps Microsoft share at https://learn.microsoft.com/en-us/training/modules/share-bicep-modules-using-private-registries/5-...
0
votes
0
answers
160
views
AWS ECR Total Images Storage view
I have recently started working with AWS ECR, I have uploaded approx. 1000 images having same base image but with some different custom layers for each image. Now I am trying to check about how much ...
0
votes
2
answers
183
views
even after adding package source Nuget packages from github private repository not restoring in github action for building docker image
I have added package source to my github actions but I still get error that my private packages cannot be found in nuget.org
My code for building a docker image and deploying to Azure Container ...
0
votes
1
answer
93
views
ImagePullPolicy -Always not working on Azure/EKS kubernetes cluster
I am trying to do performance benchmark testing for the image pull performances for Azure kubernetes cluster, To do this,
I created one Azure kubernetes cluster
I created Azure container registry and ...
-1
votes
1
answer
258
views
How to push helm chart from Jfrog artifactory to Azure container registry
I have my Helm chart hosted in a Jfrog artifactory. My helm chart can be accessed using:
http://repository.test.com:8181/artifactory/compress-files/abc/abc-1.2-helm.tgz
The expectation is to create an ...
0
votes
1
answer
633
views
Cannot attach Azure container registries to Azure kubernetes service
Trying to attach ACR to AKS in azure but getting
Could not create a role assignment for ACR. Are you an Owner on this subscription?
Here are the steps I followed:
Login: az login
To move ...
0
votes
1
answer
412
views
The resource with name 'name' and type 'Microsoft.ContainerRegistry/registries' could not be found in subscription
I am working on a script where I want to run az acr import. The command tries to list the repository but fails with the error: The resource with name 'name' and type 'Microsoft.ContainerRegistry/...
0
votes
1
answer
104
views
How can I view the contents of the Bicep modules that I have placed in a Bicep Repository in an Azure Container Registry?
When I look at the repositories in the portal, it shows me the version and the manifest, but how do I see the contents of the .bicep files that I have published there.
If I do a 'bicep restore' I am ...
0
votes
1
answer
343
views
Starting a container instance from Python SDK - problems with permissions
I am trying to run a docker container on Azure from my container registry. With the CLI, it works beautifully through:
az login
az container create -g RESOURCE-GROUP --name INSTANCE-GROUP --image ...
0
votes
2
answers
590
views
Impossible to push Docker image on Azure ACR
az acr login --name <containerRegistryName>
Login Succeeded
docker login <containerRegistryName>.azurecr.io
Login Succeeded
I am the Owner of the ACR. I can list images :
az acr ...