Security recommendations for Azure Container Instances
What are the Security recommendations for Azure Container Instances?
Unable to Execute a command in a running Azure container instance with REST API
We can enable to execute a command in a running container with az container exec in the Azure CLI : But cannot able to Executes a command in a specific container instance Using REST API Refer docement:…
Unexplainable restart of container in ACI
We create PDFs in de Docker container on ACI (and other stuff to support said process). Everything works as expected when 300-400 PDFs need to be created. However, when we increase the number the following happens: in the begin of the run we can check…
Container stuck in "Waiting" state
Hi, I have an ACI that was running fine but suddenly stopped and cannot restart. The container state is stuck in the "Waiting" state. Attempts to redeploy fail after 30 mins timeout. I'm deploying through GitHub actions. I see this log: …
Restarting container instance
Hi, I have a problem with Container Instance that was created on Azure. Each time I restart the container, it just reset all the data on it. For example, I installed Vim on it, but after restart, it can't run Vim command. Do you have any idea how can I…
Container Instances stuck in "Waiting" state Production
A number of our containers have restarted over night and are now in waiting state it seems they are not able to pull the images and restart this has not happened before and the containers would restart without a problem and pull the images. These are our…
Deploying .NET 8 Docker images to Azure Container Instances
Hello, I'm having trouble to deploy an .NET 8 Web App Docker container image to an Azure Container Instance. This is my Dockerfile: FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base USER app WORKDIR /app EXPOSE 8080 EXPOSE 8081 FROM…
mcr.microsoft.com/azure-cli does not have installed curl
Today I followed this tutorial https://learn.microsoft.com/en-us/azure/container-instances/container-instances-managed-identity#use-user-assigned-identity-to-get-secret-from-key-vault On the step when we need execute curl command it return errors and…
AKS cluster upgrade from 1.23.x to 1.27.x
Hi All. I have production AKS running on 1.23.12, and we plan to update to the latest version. In December23, we upgraded the pre-production AKS cluster from 1.24.x to 1.26.x using the following method. Upgraded control plane only from 1.24.x to…
deploying N copies of the same docker image
Looking at the Azure Portal 'Container Instances' page - for a given container - the container name has 'container instances' written below it, also on that same page - in 'essentials', there is a 'container count' property (with value 1). this strongly…
Deployment options for a container with latency related requirements
Good day all, To begin I am on the free trial (just checking out if azure would be a good fit for my needs). So far so good but I have hit a bit of a hitch and am not 100% sure how to go about resolving it. I wish to run several docker instances,…
How to deploy azure container behind private load balancer
Hello, Actually I found myself in a trouble and I do not know how to solve it. I need to deploy container instance cluster behind load balancer in a private vnet for TCP communications. I tried to use the static ip of azure container instance as…
How do I Mount an Azure file share in Azure Container Instances using managed identities instead of a storage account key?
Following https://learn.microsoft.com/en-us/azure/container-instances/container-instances-volume-azure-files I can mount the file share from a container using the storage account key. But is there a way to mount it without specifying the storage account…
Failed to deploy azure container with no incoming port due to MissingIpAddressPorts
I'm attempting to deploy a container on a private subnet that doesn't require an incoming port but requires an IP for outbound connection (azure devops build agent) however it fails to deploy when no ports are provided. I don't understand why a port is…
Connect load balancer to container instance inside a vertual network
Hi, I'm relatively new to Azure. we are trying to POC a simple scenario of several container instances in the same virtual network and subnet. we want one of the containers to be exposed from a public internet (inbound web service). In order to…
Update environment variable of an already deployed container instance
I have deployed a container in azure portal using docker image from docker's public repository. I have supplied an environment variable (connection string) during deployment. I would like to update the environment variable(connection string).Is there is…
(InaccessibleImage) The image 'docker.io/presearch/node:latest' in container group '...' is not accessible. Please check the image and registry credential.
I have several containers in US regions (eastus, centralus, westus) all failing with the same error. The same containers are running fine in other regions in the world (brazilsouth, centralindia, francecentral, etc.). These just started failing last…
FastApi container not running in a Container Instance
I have created a docker image of a simple FastApi app, based in the example by Microsoft (using gunicorn as server), and also other FastApi made by me using only uvicorn as server. I got this message: "one or more of the containers in XXXXX are in…
What hash function does the Azure Container Instances (ACI) DNS reuse policy use?
I need to programmatically set ACI fqdn, but this is made difficult since the default DNS name reuse policy adds a random portion to the fqdn which is a hash of the DNS name and the tenant ID. If I knew the hash function I could generate the hash and…
Question regarding Container Instances
On Azure, there is a "Container Instances" resource that can be made. My Azure admin made one, as well as a Container Registry, I uploaded an image to the registry, then tried to deploy that image onto the Container Instances, but I receive…