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 offers the fastest and simplest way to run a container in Azure, without having to provision any virtual machines and without having to adopt a higher-level service.

Azure Container Instances is a great solution for any scenario that can operate in isolated containers, including simple applications, task automation, and build jobs. For scenarios where you need full container orchestration, including service discovery across multiple containers, automatic scaling, and coordinated application upgrades, we recommend the [tag:Azure Container Service].

Features

  • Fast startup times
  • Hypervisor-level security
  • Custom Sizes
  • Public IP connectivity
  • Persistent storage
  • Linux and Windows containers
  • Co-scheduled groups

For more information, see Documentation

658 questions
2
votes
1 answer

Can't deploy public Docker hub image to Azure Container instances

When deploying a new Container instance from the jaegertracing/all-in-one:latest image, using this simple test: az container create -g Observabilty --name test --image jaegertracing/all-in-one:latest I get this error (InaccessibleImage) The image…
Joe Markov
  • 221
  • 1
  • 10
2
votes
1 answer

Azure: execute a container instance with parameters

I have a container in a Azure Container Registry. I have made a container instance from the registry. This container runs a script.sh at the entry point and echo's a value. FROM ubuntu WORKDIR /docker COPY . . ENTRYPOINT…
jlo-gmail
  • 4,453
  • 3
  • 37
  • 64
2
votes
2 answers

Unable to access Azure container through browser

This is the error showing in browser when I hit the url of container: This XML file does not appear to have any style information associated with it. The document tree is shown below. ResourceNotFound The specified resource does not exist.…
2
votes
1 answer

How to override local User Secrets and appsettings.json with Azure Container App's Secrets?

I have an appsettings.json in my ASP.NET Core 6 Web API and a secrets.json I use for development connection strings, like below: { "ConnectionStrings:MainDatabase": "CONNECTION STRING HERE" } After publishing my API as an Azure Container App, how…
2
votes
2 answers

Azure Container Instances: deploy to private ip with yml

I'm trying to deploy container with yml. Deployment file looks like this: apiVersion: 2019-12-01 location: westeurope name: imgeneus-login properties: imageRegistryCredentials: - server: imgeneusregistrytest.azurecr.io username:…
Anna Melashkina
  • 422
  • 2
  • 13
2
votes
2 answers

How to pass environment variables to Apache Superset docker container on Azure Container Instances

I'm able to create a working container group of Apache Superset using the Azure CLI like this: az container create --resource-group myrg --name superset-test --image apache/superset:1.5.1 --dns-name-label superset-test --ports 80 8088 --cpu 2…
2
votes
1 answer

"ACI integration does not support labels in compose applications" but I don't specify any Service labels

So I'm trying to deploy a composed set of images, (one is local and is being built the other is being pulled in from a container registry I control) to a docker container instance on Azure. I login to azure with docker, set the container group as my…
2
votes
1 answer

Azure Container Instance does not respond with dns name on browser

I have docker image which locally listens port 5000. I have deployed images to Azure Container Registry. I have then created Azure Container Instance with: az container create --resource-group myResourceGroup --name aci-tutorial-app --image…
Kenny_I
  • 2,001
  • 5
  • 40
  • 94
2
votes
1 answer

Why it takes so long to create Azure Container Instance?

I'm using the docker compose command to spin up 2 containers in Azure Container Instances, by using ACI docker context. Sometimes, it takes only a while (below 1 min) to get the containers up and running. However, often it takes much longer (up to 5…
2
votes
2 answers

Azure Fileshare - Using Docker-Compose to Mount Different Subfolders/Files to volume on ACI

I have different services on the docker-compose file that pulls some images to create containers on ACI. Everything works fine on my local machine when I mount different directories and sub folders to docker containers: volumes: -…
2
votes
1 answer

Locust - change worker name (instead of hostname)?

I'm running Locust with one master and a couple of workers on Azure Container Instances (ACI). The UI shows the hostnames of each worker as the name of it. ACI auto-generates those hostnames (SandboxHost-637602127034802671) and locust adds some…
silent
  • 14,494
  • 4
  • 46
  • 86
2
votes
0 answers

Container Instance with openVPN does not run correctly

I am trying to run a Azure Container Instance with openVPN inside to connect to an external site. I have now managed to make a setup where I use docker-compose to handle the setup. The container works when I run it locally (with openvpn establishing…
2
votes
1 answer

`docker context create aci` `--location` argument seems to have no effect

When using docker compose to deploy a container group to Azure Container Instances, the --location argument specified when creating the docker context for aci, docker context create aci..., appears to have no effect. I'm following these azure…
2
votes
0 answers

Why does my Selenium Grid in Azure Container Instances take the same time to execute tests regardless of number of nodes?

Because ACI doesn't support scaling, we deploy multiple container groups containing an Azure DevOps agent, a selenium grid hub and a selenium grid node. To try and speed things up I've tried to deploy the container groups with an additional node,…
2
votes
1 answer

Load balancing ACIs inside a Vnet

I have Azure Container Instances inside a vnet and I want to implement load balancing but cannot think of a workable solution. For context, it will be a set of VMs contacting the load balancing resource which would direct the request to one of the…