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
2 answers

Cannot get Azure container network profile Id

We are actually deploying container to Azure using Azure CLI and the create command as specify the sample documentation below : https://learn.microsoft.com/en-us/azure/container-instances/container-instances-vnet In this dosucmentation it is clearly…
0
votes
2 answers

(NetcfgInvalidSubnet) Subnet 'mySubnet' is not valid in virtual network 'myVnet'

I have a weird issue while trying to create an azure container instance referencing an existing virtual network and subnet. For that I am using the following command describes in microsoft docuementation running from azure CLI: az container…
0
votes
1 answer

Why can't I connect to a bash shell on an Azure Container Instance from my local machine?

I am trying to launch a shell in an Azure container instance from my local machine and it keep printing out this weird messages but never launches the shell: az container exec --resource-group myrsg --subscription --name…
0
votes
1 answer

PyMongo Cant connect to MongoDB Atlas from Azure Container Instance

I have a simple python script that's running on Azure Container Instance. I am trying to do an insert to MongoDB Atlas on cloud with Pymongo and i keep getting this error: pymongo.errors.ServerSelectionTimeoutError:…
0
votes
0 answers

How to assign a public IP to container instance in azure using ARM template?

I have created a container instance (the public one)... I am able to access the container using public IP(generated) and using FQDN. But I want to assign a static Public IP which I created using Public IP addresses in azure instead of…
sub
  • 527
  • 1
  • 7
  • 24
0
votes
0 answers

Ansible fetch module cannot find file although it exists

I simply want to download a file from a remote NXOS device to the ansible 2.9 controller using the fetch module. The xml looks like this: - name: fetch module sux fetch: src: "/tmp/deleteme/deleteme.txt" dest: "/ansibile-vault" …
MaxWasHere
  • 55
  • 1
  • 8
0
votes
1 answer

How to create new container group in azure vnet using python

I need to create Azure container group with 1 container instance which will be integrated in a specific Vnet using python. But I didn't find anything useful, can anyone help me ?
Hkni
  • 115
  • 1
  • 11
0
votes
1 answer

How to create a container image and download it from Azure Container Image

I want to pull a Azure Container to my local system from the Azure Container Instance. My Container my goal is to create an image from this container. I just don't know how :) I have now tried by running the arm script in Azure and creating the…
0
votes
1 answer

How to run docker image on GPU enabled azure container instance?

I created a python based web app (using flask and gunicorn) that contains a pytorch based library which can detect if the machine has CUDA GPUs. I added this image to azure container registry then used an azure container instance with GPU…
amro_ghoneim
  • 495
  • 1
  • 4
  • 14
0
votes
1 answer

Multiple Azure Container Instance groups on one fixed IP

Question: With the az container create command, I can create five container groups. However, they have different public IP's. I wish to make container [i] accessible from an URL like ???.???.???.???/container[i], where ???.???.???.??? is some fixed…
0
votes
1 answer

Is it possible to mount a single file/folder from Azure File Share to Azure Container Instance

I tried searching for a possible solution of how to mount a single file/folder from within the Azure File Share to an Azure Container Instance but didn't find any. I use Azure CLI to spawn an ACI to which I mount an Azure File Share. This File Share…
0
votes
1 answer

azure-quickstart-templates for airflow 2

Few days back, I have installed airflow 1.X using the azure quick start template using https://azure.microsoft.com/en-in/blog/deploying-apache-airflow-in-azure-to-build-and-run-data-pipelines/ I am looking for a similar template to easily (just to…
0
votes
1 answer

Mounting individual files from an Azure file share into a container

I'm currently attempting to use Azure's docker compose integration to deploy a visualization tool. The default compose file can be found here. Below is a snippet of the file: services: # other services omitted cbioportal-database: restart:…
Kurt Mueller
  • 3,173
  • 2
  • 29
  • 50
0
votes
1 answer

How to package common DLLs to to Azure Container Registry and refer them to multiple apps

I have a specific requirement on referring common .DLL files to multiple applications running on Azure Container instances/App Services. What I want to do is to package all the .DLL files to one docker image and put them in a container registry or…
0
votes
1 answer

Azure Container Instance Management SDK documentation

Unfortunately, the SDK documentation for Microsoft.Azure.Management.ContainerInstance is very low on information. It is pretty much just autogenerated from code. Specifically, I'm looking for possible values of the ContainerState.State (link) and…
RasmusW
  • 3,355
  • 3
  • 28
  • 46