620 questions
0
votes
0
answers
111
views
Create Federated workload identity service connection
I am trying to create a service connection in DevOps of type "New Docker Registry service connection to the ACR (Azure Container Registry)".
I am trying to do it in a PowerShell script. Here ...
0
votes
1
answer
103
views
Github Action to deploy to Azure fails (no changes made) - "Containerapp does not exist"
Our deployments have recently started failing with the following error, despite no changes made to Azure, GitHub, or the workflow file:
ERROR: The containerapp 'sample-name' does not exist
To ...
0
votes
1
answer
158
views
React Vite app deployed via Docker on Azure Web App shows error on base URL but works on subroutes
I'm new to deployment and currently trying to deploy my React-Vite app using a Docker image on Azure Web App. After deployment, when I visit the base URL, the app doesn't render anything and shows ...
3
votes
3
answers
1k
views
ImagePullFailure for Azure Container App/Registry. IAM failing, admin user required?
I've set up a container registry that contains an image. I have a container app that uses the image and I have it working, but only when "Admin user" is checked in the registry's access keys....
-1
votes
1
answer
66
views
Azure Batch Job Schedule has no tasks
I want to run a containerized task on Azure Batch and I want execute the task using a schedule.
I have created a job schedule but how do I associated tasks or jobs to that job schedule. The only ...
0
votes
1
answer
155
views
Azure Batch Pool with ACR fails to fetch image
I am creating Azure Batch service. I have my code in a docker image that is stored in Azure Container Registry, ACR. To access my ACR repositor I have created a user managed identity and assigned the ...
0
votes
1
answer
514
views
How to promote Docker images across multiple ACRs in Azure DevOps CI/CD pipelines? [closed]
I have a frontend and backend application, both running on Node.js, deployed using Docker. I have three environments: Dev, QA, and Prod, each with its own Azure Container Registry (ACR) and Azure App ...
0
votes
1
answer
386
views
Visual Studio failed to publish to Azure Container Registry
I have an ASP.NET Core application that I am trying to migrate to Azure. I am using Azure Container Registry to publish my app's images and run it on Container App. Until a few days ago, I was able to ...
0
votes
1
answer
559
views
How can I overwrite the current image in Azure Container App with a new one while preserving environment variables?
Situation:
I have a set of Bicep templates that successfully create an Azure Container Registry (ACR) and an Azure Container App (ACA), including identities, roles, cache, etc. However, I haven’t been ...
0
votes
2
answers
106
views
The template output 'ctrName' is not valid: The language expression property array index '4' is out of bounds
Unable to understand the error during the deployment of Azure Container Registries using BICEP Template:
Error:
6:30:16 AM - The deployment 'ContainerRegistriesDeployment' failed with error(s).
...
0
votes
1
answer
276
views
How to upgrade the existing container registry from basic to premium?
Bicep Code for ACR provisioning:
resource containerRegistry 'Microsoft.ContainerRegistry/registries@2023-07-01' = {
name: 'acrprccivivek01'
location: 'centralindia'
sku: {
name: 'Basic'
}
}...
0
votes
2
answers
337
views
Pull bicep modules from ACR to consume using AzurePowershell@5 task in Azure pipeline
I'm trying to deploy my Bicep modules published in an Azure Container Registry, but I'm encountering issues when using my service connection. It works fine locally with my own user account, but the ...
1
vote
1
answer
228
views
Referencing an existing resource which is present in a bicep module
I am new to bicep so I am might be missing something simple here. I have a container registry resource in subscription 'sub1' and resource group 'rg1'. I created a bicep module which looks like below:
...
0
votes
1
answer
284
views
Bicep modules files are not getting updated in container registry
I have created the container registry in order to upload the bicep modules and the use those in multiple places. I have uploaded the files and it's working fine but now I needed to change the bicep ...
0
votes
1
answer
440
views
Build image from one registry, push to different ACR registry
Due to my CI/CD pipeline hitting dockerhubs throttling (429 - too many requests) I am trying to build an image in one step (base image is comming from dockerhub) and push that image to my ACR in ...
0
votes
1
answer
1k
views
Configuring gitlab-ci to push to Azure Container Registry using Docker image
The problem is that when the code is on GitLab, it says, No related tags found.
Here is my gitlab-ci.yml file. All of the variables are stored in the GitLab CI/CD variables.
stages:
- build
- push
...
1
vote
1
answer
1k
views
Assign AcrPull role to Azure Container Registry in Bicep for Azure App Container
I created a container app, enabled for it managed identity and now I am trying to assign the AcrPull role to ACR for the managed identity but I get internal server error during deployment. Not sure ...
1
vote
2
answers
2k
views
Azure Container App Fails to Pull Image from ACR: UNAUTHORIZED Authentication Required
I am trying to deploy an Azure Container App using Terraform that pulls an image from my Azure Container Registry (ACR), but I'm encountering an authentication error. The error message indicates that ...
4
votes
2
answers
6k
views
How to login to Azure Container Registry using Podman?
I would like to log in to the Azure Container Registry (ACR) using Podman CLI. I have obtained the admin username and password from Access key menu. I tried to log in using this command:
sudo podman ...
0
votes
1
answer
327
views
Why Azure Container Instance cannot access Azure Container Registry image
I have built a Docker image that I have pushed successfully to an Azure Container Registry (ACR) repository.
But I cannot create an Azure Container Instance running it through Azure Powershell:
> ...
0
votes
1
answer
78
views
Regenerate ACR access key using Rest API received Unauthorized
The issue is we cannot regenerate ACR access key using ACR rest API
Registries - Regenerate Credential - REST API (Azure Container Registry) | Microsoft Learn
Throwing exception Microsoft.Azure....
-1
votes
1
answer
2k
views
Azure Container Registry not accessible via private endpoint [403 Forbidden] [closed]
I've set up vnet A and vnet B. They're linked together with vnet peering.
vnet A has two subnets = "vm-agents" and "private-endpoints". They don't have any nsg's. vnet B also has ...
0
votes
1
answer
124
views
Changing app service deployment from using a container from ACR to CI from bitbucket repository
I currently have bitbucket pipeline building a docker image and pushing it to Azure Container Registry. The image from the ACR is Continuously deployed through an Azure App Service.
I don't want to ...
0
votes
1
answer
663
views
ContainerApp not pulling images from new Azure Container Registry
I have a Container App in Azure Cloud and I have created a new Azure Container Registry(ACR). With my pipeline I am generating image in my acr and then updating the container app to use the new ACR ...
0
votes
1
answer
184
views
Programmatically creating ACI from .NET Core using TokenCredential
I am attempting to programmatically create an ACI instance in .NET Core, with a simple container as below. I have to point to a private ACR to use with ACI, and the private ACR should be accessed with ...
0
votes
1
answer
637
views
Access docker container running on Azure Function App
I deploy a containerized python function on Azure using the official Microsoft guide.
The application is running and I am able to call my function (it's an http trigger function), but I don't know how ...
0
votes
1
answer
156
views
Are there other authentication method than the basic auth available for the Azure Container Registry webhook (push event towards app service linux)?
I am using terraform to setup the Azure container registry webhook like this with basic auth disabled:
resource "azurerm_container_registry_webhook" "cr_webhook_myapp" {
name ...
0
votes
2
answers
876
views
Azure Web App failing to deploy with Windows Containers
I'm trying to deploy a windows container that holds a simple ASP.NET Core Web App to an azure web app. I've created a container registry, and pushed my docker image to it. However, every time I try to ...
0
votes
1
answer
174
views
docker image push to container registry
vineescar@Vijeyakumars-MacBook-Pro palaly-expression-builder % docker push ruleengine.azurecr.io/ruleengine:latest
The push refers to repository [ruleengine.azurecr.io/ruleengine]
bf45d8951c0e: Layer ...
-1
votes
2
answers
568
views
Docker Container for .NET 8 Web API Fails When Deployed to Azure Container Registry (ACR)
I'm working on a .NET 8 web api and using Docker to containerize it. The app works on my local machine, but fails when deployed to ACR. Before that I was running the app on .NET 7, and there were no ...
0
votes
0
answers
774
views
Docker Multi Arch Build Failing in Github Actions
I have been manually publishing my docker image to my azure container registry by using the following command:
docker buildx build --platform linux/amd64,linux/arm64/v8 -t project.azurecr.io/project:{...
-1
votes
1
answer
906
views
Azure Containters WITHOUT Docker Local Install
Edit: I solved this one.
The example docs say after obtaining the token, log in as such:
docker login ${ACR_NAME}.azurecr.io --username 00000000-0000-0000-0000-000000000000 --password-stdin <<&...
0
votes
1
answer
1k
views
How to deploy streamlit application in azure web app
my docker file contains are below:
FROM python:3.10.11
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
EXPOSE 8000
# Command to run the app
but when I try to run docker container in port ...
0
votes
1
answer
702
views
Renovate how to filter out image prefix containing registry URL when trying to match images in private Azure Container Registry
I use the integrated Renovate bot in Gitlab to scan my Gitlab repository on dependent image updates. The bot scans the images used in my docker-compose.yml and looks at my private Azure Container ...
0
votes
1
answer
234
views
Azure container registry monitor
Is there any way to monitor azure container registry health constantly(not very big fan of azure cli command)
The standard metrics is only helpful for used registries but what if someone wants to ...
-2
votes
1
answer
470
views
Cannot pull image from ACR Kubernetes
I'm trying to pull an image from ACR but I always keep getting this error
Events:
Type Reason Age From Message
---- ------ ---- ---- ...
0
votes
1
answer
194
views
Pull and push docker image from one AzureCR to another AzureCR using bash script
I am using bash script to pull docker images from one Azure Container registry (ACR) to push it to another ACR but getting below error, only the last image from the text file is getting pull/push. I'd ...
0
votes
0
answers
121
views
Setup TLSv1.3 and removed TLSv1.0, TLSv1.1 and TLSv1.2 from nginx.conf file but TLS Checker still showing 1.0, 1.2 and 1.2 Enabled
Project Is built In Angular 17 and we have used Nginx Server and hosted on Azure.
We have setup Container Registry and Container Instance.
Here is the nginx.conf ssl_protocol setup.
ssl_protocols ...
0
votes
1
answer
234
views
Is it possible to use images from Azure Compute Gallery in Azure Container Registry and vice versa? [closed]
I want to know the difference between Azure Compute Gallery and Azure Container Registry.
Both of them works as a registry to store images.
Azure Container Registry is more similar to docker registry –...
0
votes
1
answer
353
views
Graceful shutdown of dotnet container instance
I'm running a .Net 8 console application in Azure as a container image on linux using .NET SDK (no dockerfile). The app consists in several hosted services.
When my app is stopping I need to handle ...
2
votes
1
answer
770
views
ACI cannot access container from ACR when set up with terraform: InaccessibleImage
I'm trying to set up ACI using terraform, but as the title states it doesn't seem to be able to access the ACR registry.
│ Error: creating Container Group (Subscription: "redacted"
│ ...
1
vote
2
answers
2k
views
Azure Container Apps: Azure Container Registry Authentication Issue
I've been trying to deploy a docker image that's already pushed in our azure container registry. I'm receiving the following error:
/usr/bin/az containerapp update -n <appName> -g <...
0
votes
1
answer
180
views
Docker image is not updating on Azure container registry via gitlab
I am having an issue with my docker images which are uploaded on the Azure container registry via gitlab, but they seem not to be updating the current code, but locally they work.
What could be a ...
0
votes
1
answer
534
views
Can I use Bicep to create a token credential for a container registry?
I am trying to create a container registry through Azure Bicep, and as part of that, also create access tokens inside of it.
My .bicep file includes this section:
param tokenExpiry string = ...
1
vote
1
answer
134
views
How to pull an image from Azure Container Registry in CircleCI?
I would like to pull a custom image from our private Azure Container Registry in CircleCI. I am aware of the CircleCI Azure ACR Orb, but it seems to only specify how to build and deploy images to the ...
0
votes
1
answer
798
views
Azure Container App :ImagePullBackOff on legion when using Private image from Azure Container Registry
enter image description here
Hello! I am new to Azure Container Registries and Azure Container apps.
I am trying to create a container app using a private image in ACR.
My ACR has admin user turned on ...
0
votes
0
answers
93
views
Error while performing acr run build: MONGODB_URI environment variable in .env.local
I am running github actions for Building and deploying a Next.js app in AKS. While in the Build and push image to ACR step I am getting an error that MONGODB_URL should be defined in .env.local while ...
0
votes
1
answer
430
views
Azure container registry az acr build command times out with 404 BlobNotFound
I'm having issues with performing az acr build that used to work fine for months.
I'm running the command as:
az acr build -t [TAG] --registry [CONTAINER REGISTRY NAME] --agent-pool [AGENT POOL NAME] [...
0
votes
1
answer
895
views
Access denied for '***', repository does not exist or may require 'docker login': denied: requested access to the resource is denied
I need help with setting up azure function app application from docker image.
I've prepared docker image and pushed it to ACR using Azure DevOps pipeline (image was tested and it is perfectly fine ...
0
votes
1
answer
853
views
Is there a better way for `az acr import ...` instead of `AzureCLI@2` in Azure DevOps?
I need to "sync/import/copy" a Container Image from registry A in subscription A to registry B to subscription B. It is possible to make this with az acr import ... as documented in Import ...