One cotainer in docker compse deployment killsed by ACI as it start

Arma 1 Reputation point
2022-08-10T15:06:41.303+00:00

Hi,

As i deploy two container app using following two methods into azure container instance. It has been observed that one of the container image is being pulled, and started but right the image stared event message there is message stating that killing the container. This behaviors persist even if i use bare minimum configuration.

Tried trial -f /dev/null as command line argument to print out some logs but logs are also empty for the halted container and no logs are being available.

What could be possible cause?

Anyone else faced same issue?

Current state: Waiting
previous state: Terminated

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
757 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,971 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. srbhatta-MSFT 8,586 Reputation points Microsoft Employee
    2022-08-12T06:06:04.683+00:00

    Hello @Arma ,
    Welcome to Microsoft QnA.
    May I know if you are trying to run a multi-container application locally and then deploy it as a container group in Azure Container Instances?
    Azure-webapps is significantly different than applications running on Azure Container Instances.
    Have you followed the below document to do so ? - tutorial-docker-compose.

    As you have mentioned, you are providing a start command during container group deployment to keep the container running, but there is a typo, you have mentioned trial instead of tail . The correct command would be :

    tail /f /dev/null  
    

    Check this article : container-instances-troubleshooting

    Also, could you please elaborate more on your container environment and provide some clarity on if you are using container-apps or container-instances, then we can help you further. Thanks.

    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.