Ends in
00
days
00
hrs
00
mins
00
secs
ENROLL NOW

🎁 Get 20% Off - Christmas Big Sale on All Practice Exams, Video Courses, and eBooks!

Deploying Docker Images To Azure Container Apps

Home » Azure » Deploying Docker Images To Azure Container Apps

Deploying Docker Images To Azure Container Apps

Last updated on April 26, 2023

Containers, cloud-native, and microservices are all used in modern software development and deployment. A container is a standalone executable package that contains everything needed to run a piece of software, creating an isolated environment for the application. While microservices are an architectural paradigm for developing applications composed of small, independent services. This enables teams to autonomously build, deploy, and grow their services, increasing the speed and agility of the development process.

In Microsoft Azure, there is a fully managed service called Azure Container Apps, where you can deploy, manage, and scale multi-container applications and microservices. You can run your containers without worrying about the challenges of managing cloud infrastructure and complex container orchestration solutions. To understand how this service works, we will look at a series of step-by-step tutorials on creating Container Apps.

Configuration and Deployment of Container Apps

In this section, we’ll learn how to create, configure and deploy Azure Container Apps using Docker images. The container images will be retrieved from Docker Hub, which is a repository of container images from software vendors, open-source projects, and the community. 

There are several methods for deploying container images:

  • Azure Portal
  • Azure CLI
  • VS Code
  • Tutorials dojo strip

However, for this tutorial, we will configure Azure Container Apps using the Azure Portal. The first step you need to do is search the keyword “container apps” and click “Create container app”.

1. Once you’re in the configuration settings, you must fill in the following details that have a red asterisk.

Azure Container Apps using Docker images

2. The Container Apps Environment field will be created automatically by default, but you can also configure it based on your needs. When you click Create new, you’ll be taken to the Create Container Apps Environment page, which includes the following tabs:

    • Basics – configure environment name and zone redundancy.
    • Monitoring – create a log analytics workspace to store application logs.
    • Networking – select the default or custom virtual network.

Deploying Docker Images to Azure Container Apps

3. Next is the app settings tab; we need to untick the “Use quickstart image” to use a custom image from Docker Hub. After that, we need to select an image from Docker and the container image that we will use is Grafana.

Deploying Docker Images to Azure Container Apps

4. After you copied the Grafana image and tag, fill in the following details: 

Deploying Docker Images to Azure Container Apps

Note: If you don’t specify the image’s tag version, you’ll always get the latest version.

5. If you scroll down, you’ll see an Application ingress settings section. Don’t forget to enable the ingress, select “Accepting traffic from anywhere”, and the target port of the container. This is the port your container is listening on that will receive traffic.

Deploying Docker Images to Azure Container Apps

The main reason why we need to enable ingress is so we can generate an application URL. Also, the insecure connections option will just generate an HTTP URL.

6. For the tags tab, this is optional, but for best practices, Azure recommends that you should add always add tags to organize your Azure resources.

Deploying Docker Images to Azure Container Apps

7. Before creating the container app, review all the details, and once you’re done, click Create, then, you’ll be redirected to the Deployment is in progress page. The deployment will take a few minutes to be completed.

Deploying Docker Images to Azure Container Apps

8. To verify the app that you’ve just deployed, go to resource and find the application URL.

Deploying Docker Images to Azure Container Apps

9. After clicking the application URL, you’ll be redirected to the Grafana app container.

Deploying Docker Images to Azure Container Apps

10. That’s it! Now you’ve deployed a Grafana image from Docker Hub with a few steps. Grafana is basically a dashboard to monitor the health and performance of all your resources in one platform. If you want to know about its features and how it works, then check out this article.

Get 20% Off – Christmas Big Sale on All Practice Exams, Video Courses, and eBooks!

Tutorials Dojo portal

Learn AWS with our PlayCloud Hands-On Labs

Tutorials Dojo Exam Study Guide eBooks

tutorials dojo study guide eBook

FREE AWS Exam Readiness Digital Courses

FREE AWS, Azure, GCP Practice Test Samplers

Subscribe to our YouTube Channel

Tutorials Dojo YouTube Channel

Follow Us On Linkedin

Recent Posts

Written by: Gerome Pagatpatan

Gerome is a Software Engineer with 5 cloud certifications from Amazon Web Services, Microsoft Azure, and Oracle. He co-authored high-quality educational materials in the cloud computing space, which have been used by over a quarter-million people worldwide. He is also part of the AWS Community Builders program, which aims to help fellow IT professionals advance their careers in the cloud. He is passionate about education, and now it's his turn to share his knowledge, experiences, and passion for cloud computing.

AWS, Azure, and GCP Certifications are consistently among the top-paying IT certifications in the world, considering that most companies have now shifted to the cloud. Earn over $150,000 per year with an AWS, Azure, or GCP certification!

Follow us on LinkedIn, YouTube, Facebook, or join our Slack study group. More importantly, answer as many practice exams as you can to help increase your chances of passing your certification exams on your first try!

View Our AWS, Azure, and GCP Exam Reviewers Check out our FREE courses

Our Community

~98%
passing rate
Around 95-98% of our students pass the AWS Certification exams after training with our courses.
200k+
students
Over 200k enrollees choose Tutorials Dojo in preparing for their AWS Certification exams.
~4.8
ratings
Our courses are highly rated by our enrollees from all over the world.

What our students say about us?