Container Instance suddenly stop while doing npm install, is there a limit in storage?

John Kevin Asprec 0 Reputation points
2023-08-25T23:15:02.9033333+00:00

I created a container instance via Azure CLI. When this container starts, I run a shell script that copies files from a mounted Azure file share. Afterward, I extract a zip file into a directory to execute 'npm install' and a Sencha build. Following this, I archive the build output and copy it back to the mounted Azure file share. The reason for performing these copy and operations within the container is that when I do this via a mounted directory, it takes too much time. Is there a storage limit for a container, or do you have another solution for this scenario? I'm open to recommendations. Thank you.

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
757 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AirGordon 7,150 Reputation points
    2023-08-26T05:19:54.9266667+00:00

    There is a storage limit, which is generally 50GB - and can be seen here : https://learn.microsoft.com/en-us/azure/container-instances/container-instances-resource-and-quota-limits#standard-container-resources

    It sounds like you're building an app, which i'd typically do during my CI/CD pipeline. I'd typically create the container image as part of that process then store it in an Azure Container Registry. This way if I wanted to run the web app on an ACI, then i'd just pull that container. I appreciated that i've guessed your scenario, so apologies if your actual scenario is a little different.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.