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
0
votes
1 answer

Azure Container Instances - CLI and YAML file giving different outcomes

I'm trying to deploy Mongo onto Azure Container Instances as part of a container group. To do this, I use a Storage Account with a file share to persist the mongo data. It's impossible to mount the volume in the /data/db default location, so I mount…
Mark
  • 816
  • 1
  • 9
  • 27
0
votes
1 answer

Azure ACI container deployment fails when launching with Command line arguments

I am trying to launch an ACI container from Azure CLI. The deployment fails when I send multiple commands from command-line and it succeeds when I just pass one command, like 'ls'. Am I passing multiple arguments to the command line in the wrong…
0
votes
3 answers

Azure Container Instance | Environment Variables from an Environment Variables File

How can I create an Azure container instance and configure it with an environment variables file? Something that'd be equivalent to Docker's --env-file flag for the run command. I couldn't find a way to do that but I'm new to both Azure and…
0
votes
1 answer

Unable to view files from azure file share volume mount in ACI container

I am trying to mount an Azure file share volume to an ACI container group and instance. C# code snippet .DefineVolume(volumeMountName) .WithExistingReadWriteAzureFileShare(shareName) …
Prasoon
  • 157
  • 2
  • 10
0
votes
1 answer

Azure Container Instance able to run execution scripts via Az CLI from public IP despite VNET only inbound NSG

So I've deployed an Azure Container Instance Group in a private Subnet & VNET where the default inbound rules on the NSG applies. There isn't a public IP allocated (as expected) however, I am still able to leverage Azure CLI to execute scripts with…
theknees
  • 75
  • 1
  • 7
0
votes
1 answer

How configure Azure Application Gateway to allow connecting to a Container Instance

I have a private network (10.0.0.0/16) which has multiple subnets. I have an Application Gateway configured in the 10.0.0.0/24 subnet and I would like to expose Container Instances from the 10.0.2.0/24 subnet to the internet via HTTP. The gateway…
0
votes
2 answers

Deploying Azure Container Instance in differents RGs

I need to deploy Azure container instance in differents Resource Groups. In one Resource Group I allocate only the ACI and on another Resource Group I allocate the Vnet Is this possible? I think that is not possible by design
exitista
  • 563
  • 2
  • 10
  • 21
0
votes
1 answer

Bind SSL to Azure Container Instance

I have created node js api and hosted it in Azure Container Instance using registry. I am using my API using FQDN. Now I want to bind SSL Certificate to this instance. Is there any way to do so? I searched for solution but didn't found any.
0
votes
1 answer

Docker Container in Azure Logic App fails does not exit properly

I have a curious issue getting a docker container set up to run and exit properly in an Azure logic app. I have a python script that prints hello world, then sleeps for 30 minutes. The reason for sleeping is to make the script run longer so that I…
0
votes
1 answer

Azure container instance limit value not working as expected

I believe above configuration is right but I get an error in powershell (The 'MemoryInGB' limit value must be greater than or equal to the request value.) and if I give greater value in limits then I get error (The 'MemoryInGB' limit '1.5' in…
Bhanu Reddy
  • 205
  • 3
  • 12
0
votes
1 answer

Is there a way to set environment variables without a value while creating a Azure Container Instance?

I want to create a Azure Container Instance by using the website (https://portal.azure.com). The original docker command would look like this: docker run -d my/image --min-port=49160 --fingerprint. On the advanced tab, I can enter a combination of…
Marc P.
  • 3
  • 4
0
votes
2 answers

Connecting to a jenkins container running on azure

I'm currently running jenkins from a container on my azure container instances, but I'm having difficulty with connecting. I specified port 80 when I run the CLI command: az container create -g MyResourceGroup --name MyName --image MyImage --ports…
avenmia
  • 2,015
  • 4
  • 25
  • 49
0
votes
1 answer

Unable to achieve Secure connection to redis container through Ngnix using SSL

Secure connection to redis container through Ngnix using SSL using RDM Please refer this question for details. I have exact same scenario and unable to achieve using nginx or stunnel. Below is the issue with Nginx. When I call from browser redis is…
0
votes
1 answer

Azure: Unable to use volumeMount with MariaDB container instance

I'm trying to store my MariaDB in a Azure Storage Account In my YAML I've got this to define the MariaDB image: - name: mariadb properties: image: mariadb:latest environmentVariables: - name: "MYSQL_INITDB_SKIP_TZINFO" value:…
Tom Irving
  • 10,041
  • 6
  • 47
  • 63
0
votes
3 answers

Docker commands in Azure

Maybe I do not understand the concept of Azure Container Instances (ACI) and Azure at all correctly. I am using Azure CLI on my Windows-Computer and want to create a Windows-container (core-image) with dockerfile. But there is no AZ command…
user10017556