1

I am using Azure Container Apps to host our Containers. I want one instance of an Azure Container App to host two different containers (these are services that share a similar lifecycle). This is possible to do manually via the Azure portal, but I cannot see a way to automate it via the Azure CLI.

I have been using the az containerapp up CLI command to create an App with a single container.

https://learn.microsoft.com/en-us/cli/azure/containerapp?view=azure-cli-latest#az-containerapp-up

But is there a way with the CLI to create an app that manages 2 containers?

Thanks

Daniel Mann
  • 57,011
  • 13
  • 100
  • 120
jonho
  • 1,680
  • 2
  • 19
  • 29

1 Answers1

2

The az containerapp compose create command let you specify a Compose file.

https://learn.microsoft.com/en-us/cli/azure/containerapp/compose?view=azure-cli-latest

CSharpRocks
  • 6,791
  • 1
  • 21
  • 27