Skip to main content

Questions tagged [azure-container-instances]

Azure Container Instances is a cloud service from Microsoft that offers to run containers as a service without managing the underlying infrastructure/servers. This tag is used for questions related to using azure container instances

azure-container-instances
Filter by
Sorted by
Tagged with
42 votes
4 answers
23k views

What is the difference between Azure Container Instances and Web App for Containers?

I just deployed a web app (node.js container and mongo container) using Azure multi-container instances. It's a bit like Docker Compose but works with an Azure specific yaml file: https://learn....
Sam's user avatar
  • 5,871
31 votes
4 answers
28k views

Update docker image in Azure Container Instances

I have an image in the repository on the docker hub. I created azure container instance based on the image in the repository on the docker hub. I updated the image in the repository on the docker hub. ...
Egor Rezchikov's user avatar
27 votes
3 answers
19k views

Azure Container Instances vs Azure Functions

When would I prefer Azure Functions to Azure Container Instances, considering they both offer the possibility to perform run-once tasks and they bill on consumption? Also, reading this Microsoft ...
Alberto's user avatar
  • 823
21 votes
4 answers
27k views

How to add SSL to Azure Container Instance App?

As the title says, I need to setup SSL for an app hosted in Azure Container Instances, however, I'm not quite sure where I need to start. I have a containerized app hosted via Azure Container ...
snejame's user avatar
  • 682
18 votes
2 answers
17k views

Scale Azure Container Instance

Is it possible to scale an ACI running container? Problem: We have some old-school Cloud Services (.NET Framework v4.7.1) we're migrating to Docker containers, we've successfully got them running ...
Kieron's user avatar
  • 27k
18 votes
3 answers
12k views

How to set-up custom domain name in Azure Container Instance

I own a domain name with cloudflare nameservers. I've set up an Azure Container Instance with a running container hosted in Docker-Hub container registry. When i created the container instance i ...
Vichoko's user avatar
  • 373
16 votes
4 answers
28k views

How to expose multiple ports on Azure Container Instance?

Is it possible to expose/open more than one port on an Azure Container Instance? I've only been able to open one port per container. I'd like to run the equivalent of: docker run -p 80:80 -p 443:443 ....
dstj's user avatar
  • 5,100
13 votes
3 answers
7k views

Is there built-in support for enabling SSL on Azure Container Instances?

Is there built-in support for enabling SSL on Azure Container Instances? If not, can we hook up to SSL providers like Lets Encrypt?
GPA's user avatar
  • 133
12 votes
4 answers
19k views

How to get set up FQDN for Azure Container Instance

I am using Azure Container Registry to store my private docker image and Azure Container Instance to deploy it. I get a public IP address which is OK for verification and simple preview, but not ...
ljubomir's user avatar
  • 1,515
12 votes
1 answer
3k views

What is the proper way to expose an Azure Container Instance that is inside a vnet?

I have an ACI that is running a REST API that needs to be exposed publicly, but needs to access resources inside a vnet. For some reason, unlike normal VMs, if an ACI is inside a vnet, it cannot have ...
jbx's user avatar
  • 22k
11 votes
1 answer
5k views

Azure Container Registry (ACR) Run vs Azure Container Instance (ACI) Create

While studying for the AZ-204 certification, I found myself in a question related to two commands. Azure Container Registry (ACR) Run the sample/hello-world:v1 container image from your container ...
QQQ's user avatar
  • 111
10 votes
1 answer
7k views

Can I assign a reserved IP to Azure Container Instances (ACI)?

ok, I have a requirement from third-part to run a workload from a specific IP (so they can white-list it). Can I assign a reserved IP to my ACI container?
AlexB's user avatar
  • 4,413
9 votes
2 answers
7k views

Can Azure Container Instances be invoked using triggers?

I'd like to use Azure Container instances to run a long (10 mins) analysis test using a legacy app. When an item appears in CosmosDB, I want to trigger the launch of a new container instance. The ...
dommer's user avatar
  • 19.8k
9 votes
3 answers
9k views

Is It Possible to Restrict Access to Azure Container Instance with IP restrictions

I am creating an Azure container instance to host an index for testing purposes. Currently I can only get it to work with IpAddressType set as Public, but of course this makes the index available to ...
Andy McWilliams's user avatar
8 votes
4 answers
9k views

Attaching a private static ip address to Azure Container Instance

I am searching for a solution with static private IPs for my container instances. I will add the Application Gateway to it to also have a static public IP for it. I am checking https://stackoverflow....
O1da's user avatar
  • 143
8 votes
2 answers
9k views

Using Azure Container Registry creating new Azure Container Instance from C#

I have created a Azure Container Registry, and uploaded a custom ACI to the registry - no problem - everything works as intended. I have tried creating an container instance from the image using the ...
Benjamin Ø.'s user avatar
8 votes
2 answers
4k views

containerd error "failed to find user by uid" when creating ejbca docker container on azure

When I try to create an Azure container instance for EJBCA-ce I get an error and cannot see any logs. I expect the following result : But I get the following error : Failed to start container my-...
Marc Bouvier's user avatar
8 votes
1 answer
11k views

Update environment variables of provisioned Container Instance

Has anyone ever tried to update the existing environment variable values after the container instance is provisioned in azure using Azure ACI? Currently, it seems that there is no way to update them ...
Bhushan's user avatar
  • 652
8 votes
3 answers
9k views

Error response from daemon: Get https://azure/v2/: dial tcp: lookup azure: no such host

I am trying to pull docker image from docker hub to azure following this docs on docker https://docs.docker.com/cloud/aci-integration/. when I enter the command: docker login azure I get the error: ...
anoncgain's user avatar
  • 405
8 votes
1 answer
2k views

How configure a static outbound IP for Azure Container Instances [closed]

I have to sync some data via a static outbound IP that I need to whitelist with the data provider beforehand. For this reason, I would like to configure a static outbound IP address for an ACI (Azure ...
NoNameProvided's user avatar
7 votes
3 answers
6k views

Azure Container Apps Restarts every 30 seconds

I have an Azure Container App that's based on the hosted BackgroundService model. It's essentially just a long running console app that overrides the BackgroundService.ExecuteAsync method and waits ...
pseabury's user avatar
  • 1,695
7 votes
2 answers
3k views

Authentication with Azure AD redirect_uri is incorrect using FrontDoor

I've got an Azure FrontDoor setup as a reverse proxy/load balancer between a container running on port 5443 and a custom domain. The point of this is to provide a standard address to users. I.e. ...
ossentoo's user avatar
  • 1,879
6 votes
4 answers
3k views

Unable to mount azure file shares as mongodb volume in azure container instances

I am trying to set up a mongo DB instance using azure container instances and mounting the same on Azure file share. We are getting the following error: [initandlisten] WiredTiger error (1) [...
Santhosh's user avatar
  • 699
6 votes
1 answer
4k views

Deploying Postgres database on azure Container Instance?

I am trying to deploy PostgresDatabase on azure container instance. To deploy on docker using bind mount(since Azure container Instance only support bind mount) i am using the below command, and it is ...
yatharth meena's user avatar
6 votes
1 answer
2k views

Azure Container Instances disk space pricing

This doesn't seem to be listed neither on the Microsoft portals, or be answered anywhere else - so I might have misunderstood how this is provisioned and/or calculated in Azure, but; Instancing a ...
Benjamin Ø.'s user avatar
6 votes
2 answers
8k views

How to add Fonts to Windows Docker container/image?

I have a console application that is built on .NET Framework v4.8. I am trying to run it in Azure Container Instances(ACI) using the docker image. I have created a docker image locally and pushed it ...
Abhishek Prajapati's user avatar
5 votes
3 answers
1k views

SocketException permission denied when trying to bind port 80 or 443 to Kestrel in Azure Container Instance with .NET 8

This issue happens with Linux Azure Container Instances (ACI) after upgrading the app to .NET 8; the exact same code works targeting .NET 6 (i.e. if I only change <TargetFramework> in the ....
Piedone's user avatar
  • 2,848
5 votes
4 answers
2k views

How can I use a SystemAssigned identity when pulling an image from Azure Container Registry into Azure Container Instances?

I want to create a container (or container group) in Azure Container Instances, pulling the image(s) from Azure Container Registry - but with using a SystemAssigned identity. With that I want to avoid ...
Kai Walter's user avatar
  • 3,821
5 votes
2 answers
1k views

Error when runnning Linux container in Azure Container Instances: failed to open log file "/var/log/pods/.../<container name>_0.log"

I'm running a .NET Core application in a Linux container. The container runs fine locally, but when run in Azure Container Instances, it immediately stops. The container's log file is shown below (...
Uli's user avatar
  • 1,665
5 votes
2 answers
1k views

Obtain client IP in docker in azure container

Is there anyone who can help me to obtain user client IP from docker container that runs on Azure container instance ? My code gets only local IP of something , i guess it is revers proxy. So ip is ...
grinay's user avatar
  • 728
5 votes
2 answers
7k views

How to put an HTTP Gateway on top of Azure Container Instances?

I would like to use Azure Container Instances behind a gateway (HTTP) to avoid an idle infrastructure when there is no traffic. Something which looks like this. There is something like that ...
Stan's user avatar
  • 86
5 votes
1 answer
720 views

Why azure takes so long to create an windows core server container instance?

Recently started to look into azure container instance for windows preview. When creating a container from images ( "microsoft/iis" or "microsoft/windowsservercore" ) azure taking 10-12 minutes to ...
vivek jain's user avatar
5 votes
4 answers
5k views

Azure Container Instance is immediately killed on Startup

I am trying to run an azure container instance but it appears to be getting killed off the second I run it. This works fine in 2 other resource groups but not my production resource group where I see ...
johnstaveley's user avatar
  • 1,450
5 votes
3 answers
5k views

Azure container instances gets killed without obvious reason

We run container instance group daily (triggered by logic apps). The container basically connect to queue, process it and ends. Sometime, according the events log, the container gets killed, there is ...
user3337015's user avatar
4 votes
1 answer
3k views

Terraform Azure Container Groups appear to have no way to mount multiple volumes?

When reviewing the documentation for Azure Container Groups, specifically this page on secrets: https://learn.microsoft.com/en-us/azure/container-instances/container-instances-volume-secret I noticed ...
user3216649's user avatar
4 votes
1 answer
2k views

Terminated ACI not disappearing

I'm working on a new container image that runs my worker process to drain an Azure queue. Once the queue is empty my app exits and I'd like the ACI to de-allocate and be removed as well. What I am ...
BrettRobi's user avatar
  • 3,883
4 votes
2 answers
1k views

Duplicate image registries 'index.docker.io' found in the 'imageRegistryCredentials' of container group

[PS C:\Source\VelocityAzurev0.10.0\credentialagent-docker-compose> docker compose up [+] Running 0/1 - Group credentialagent-docker-compose Error ...
mohrin's user avatar
  • 41
4 votes
1 answer
1k views

Deploying Azure container s without running them

I am new to running containers in Azure and I am puzzled with the use case below, If you feel I am wrongly using containers, feel free to give me an alternative approach. Core problem: I am not able/ ...
Olivier Thierie's user avatar
4 votes
1 answer
1k views

Mapping an ACI-instance to a Reserved IP on Azure

Are there any best practices on continuous deployment to an Azure Container Instance so that it keeps the public IP? Or mapping an Azure Reserved IP to a dynamic IP that the ACI gets bound to at ...
Juha Ristolainen's user avatar
4 votes
2 answers
7k views

private ip for azure container instance

The API seems to support public or private for ip address, but I can't figure out how to get that private ip address on a vnet. "properties": { "containers": [ ], "osType": "Linux", "...
ahmelsayed's user avatar
  • 7,342
4 votes
1 answer
6k views

`docker-compose up` vs. `docker compose up` with environment variables

I'm trying to deploy a three-node Elasticsearch cluster to an Azure Container Instance using Docker Compose. I'm loosely following this example from the Elasticsearch documentation and this tutorial ...
user10998602's user avatar
4 votes
1 answer
3k views

When to stop OR delete Azure Container Instance

This is a question on general advice on the usage of ACI and its pricing calculation. I checked the MSFT link: ACI pricing It stated that it is charged based on memory and CPU consumptions. And the ...
csamleong's user avatar
  • 829
4 votes
1 answer
7k views

Azure Container Instance : Container creation issue

I am currently trying to create a new container on Azure Container Instance, to deploy a .net core app image on it. (I'm a newbie on this techno). I have created a Container Registry on Azure and ...
Roman Lushkin's user avatar
4 votes
3 answers
5k views

Interacting with a container in Azure Container Instances

Is there a way to execute a command in a container hosted in ACI? I'm looking for something like this: docker container exec [image] [command]
Dave Swersky's user avatar
  • 34.7k
4 votes
1 answer
1k views

Start container instance on web request to FQDN

Let's say we have a (containerized) backend which is only sparely used. Maybe once every couple of days or so, a (static) web front-end calls an API endpoint of that backend. The backend conveniently ...
Max's user avatar
  • 9,669
4 votes
1 answer
6k views

How to get Azure Container Instances using my DNS server?

In ACI we use Linux containers with virtual network support. There we have some dockerized azure function apps running that make use of Azure ServiceBus, Azure Storage Accounts, and Azure CosmosDb - ...
DSpirit's user avatar
  • 2,242
4 votes
1 answer
4k views

Why does my ML model deployment in Azure Container Instance still fail with "current service state: Transitioning"?

I am using Azure Machine Learning Service to deploy a ML model as web service. I registered a model and now would like to deploy it as an ACI web service as in the guide. To do so I define from ...
Davide Fiocco's user avatar
4 votes
2 answers
3k views

Getting logs for Azure Container Instance that freezes

We have an Azure Container instance that seems to be freezing under heavy load. And we are able to cause this through a load test. I am not looking for the exact solution to that right now, but what I ...
chuckw87's user avatar
  • 677
4 votes
1 answer
3k views

Azure Container Instance - restarting once in a while for no apparent reason

I have a few different containerized web apps running on Azure Container Instance (ACI). I recently noticed that some of these containers just restart with no apparent reason once in a month or so. ...
rahulmohan's user avatar
  • 1,325
4 votes
1 answer
1k views

Cacheable Docker image for Azure Container Instances

I'm trying to use Azure Container Instances and I have a problem with long pulls of my image. It takes about 3 minutes for ACI to pull my image. I've checked the Troubleshooting guide which says the ...
fkorotkov's user avatar
  • 358

1
2 3 4 5
14