mohamedradwan.com - Nothing can beat experience
Post
Cancel

The steps to Deploy a docker image to Azure Container App Service.

  1. Navigate to-Azure Portal and log in.
  2. Select Create a Resource.
  3. Select Create on the Web App.

4.1 Select Create new.- 4.2 Put any desired name to name the RG. 5.1 Put any desired unique app name. 5.2 Select Docker Container. 5.3 Select Linux. 5.4 Select Change size.

6.1 Select Production. 6.2 Select P1V2. 6.3 Select Apply. 6.4 Select Review + create.

  1. Create
  2. Go to the created resource.
  3. Navigate to your app URL to examine it:
  1. You can see your App URL-is working but we still haven’t deployed the Docker image yet.
  2. Navigate to-Azure DevOps-and select “Releases” from pipelines.
  3. Select New pipeline. 13.1 Change the CD name to any desired Name. 13.2 Select Empty job. 14.1 Select Add An artifact.
  4. Select docker hub.
  1. Navigate to-DockerHub. 16.1 Select your App repo. 16.2. Add the required info (Service connection, Namespace, Repository)

17.1 Press on + to add a new task 17.2 Search for Azure web. 17.3 Add Azure Web App for Containers.

  1. Select your Azure Subscription.
  2. Select your app from Azure.
  3. Set the Docker Image name.
  1. Press on Create release
  1. Navigate to the app URL and check if it’s working as expected.
Trending Tags