ACR: Journey to Containerization

Introduction:

Welcome to the world of TechWave Solutions, a dynamic and innovative company that has been at the forefront of technological advancements for over a decade. TechWave Solutions specializes in developing cutting-edge software applications that cater to a diverse range of industries, from healthcare to finance. As the demand for scalable and efficient solutions continues to grow, TechWave Solutions has decided to embark on a transformative journey to modernize their application infrastructure. The company has recognized the immense potential of containerization in streamlining their development and deployment processes. By leveraging Docker and Azure Container Registry, TechWave Solutions aims to enhance the portability, security, and scalability of their applications. This transformation will not only improve their operational efficiency but also enable them to deliver high-quality solutions to their clients with greater speed and reliability. In this activity, you will step into the shoes of TechWave Solutions’ development team. Your mission is to create a Docker file, build the image, and push it to the Azure Container Registry.

Scenario:

You are a developer tasked with containerizing your Python app and run it. Your app code is present in ‘sample.py’ present in your local machine. Use the instructions given and arrange them in order to complete the task given to you on the right-hand side.

Question 1:

Rearrange the following instructions and create a functional Docker file for the python application that you are developing. Dockerfile Instructions:**

Question 2:

Now since you got the Dockerfile now, you are ready to build the container image and push it to the container registry. We will be using Azure Container Registry (ACR) for hosting our container images. Please select what tools you can use to build your image and push it to ACR. Choose all that apply.





Question 3:

Please select the right Azure ACR Task command to build the container image and push the image to ACR. Select one.