How to deploy a docker hub image to an existing Azure web app?

Andriy Bilous 10,981 Reputation points MVP
2021-02-17T12:54:33.463+00:00

Is it possible to set DockerHub image(without login and password) for WebApp with Powershell or AZ CLI?

Above document only describes how to setup ACR image for WebApp
https://learn.microsoft.com/en-us/cli/azure/webapp/config/container?view=azure-cli-latest#az_webapp_config_container_set

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
398 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,960 questions
{count} votes

Accepted answer
  1. SnehaAgrawal-MSFT 18,366 Reputation points
    2021-02-20T02:59:25.04+00:00

    @Andriy Bilous Thanks for reaching here! You may refer to this Sample script for Linux Containers.

    The only difference for Windows Container is when creating the App Service Plan. You will need to remove --is-linux and add --hyperv and make sure of using PremiumV3 SKU (P1V3, P2V2 or P3V3)

    Please let us know if you have any other question.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful