az webapp container

Group of commands related to webapp container operations.

Commands

az webapp container up

Experimental command to create and deploy a container webapp.

az webapp container up

Experimental command to create and deploy a container webapp.

az webapp container up --name
                       [--docker-custom-image-name]
                       [--dryrun]
                       [--registry-name]
                       [--registry-rg]
                       [--source-location]

Examples

Deploy a container using an image from DockerHub. This example uses nginx.

az webapp container up -n AppName -i nginx

Upload files from the current directory to an Azure Container Registry, then build a container image and deploy it to a web app. The Azure Container Registry must already exist.

az webapp container up -n AppName --registry-rg ContainerRegistryResourceGroup --registry-name ContainerRegistryName

Required Parameters

--name -n

Name of the webapp. You can configure the default using 'az configure --defaults web='.

Optional Parameters

--docker-custom-image-name -i

The container image name and optionally the tag name (currently public DockerHub images only).

--dryrun

Show summary of the create and deploy operation instead of executing it.

--registry-name

The name of the Azure Container Registry.

--registry-rg

The resource group of the Azure Container Registry.

--source-location -s

The path to the web app source directory.