Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article, you use the Azure CLI to create an Azure Container Apps express environment and deploy your first express container app. Azure Container Apps express is a developer-first platform that gets your containerized web app running in the cloud with minimal configuration.
Important
Azure Container Apps express is currently in preview. Access is limited to Microsoft Entra ID accounts. Personal Microsoft accounts aren't supported.
Prerequisites
- An Azure account with an active subscription. If you don't have one, create an account for free.
- The Azure CLI installed.
Update the Container Apps extension
Before you begin, upgrade the Azure Container Apps CLI extension to the required version.
Upgrade the Azure CLI to the latest version.
az upgradeAdd the Container Apps extension.
az extension add -n ContainerAppUpdate the extension to ensure you have the latest version.
az extension update --name containerapp
Note
You need version 1.3.0b4 or later of the containerapp extension.
Create an express environment
Create a resource group and an express environment. Replace <ENVIRONMENT_NAME> and <RESOURCE_GROUP> with your own values.
az containerapp env create \
--environment-mode express \
--name <ENVIRONMENT_NAME> \
--resource-group <RESOURCE_GROUP> \
--logs-destination none
Note
During preview, express is available only in the West Central US and East Asia regions.
Deploy a container app
Deploy a container image to the express environment.
az containerapp up \
--image docker.io/nginx \
--name <APP_NAME> \
--resource-group <RESOURCE_GROUP>
After the command completes, the CLI outputs the URL for your running app.