Day-10/16 Getting Started With Docker Container | Azure DevOps CICD for Azure Container Instances
ะััะฐะฒะบะฐ
- ะะฟัะฑะปัะบะพะฒะฐะฝะพ 23 ะถะพะฒ 2024
- Welcome to Day 10/16 of the Azure DevOps Zero to Hero series. In this video, we will start our journey into containerization with the help of Azure Container Instances.
We will begin with the concept of containers and provide insights into their advantages over traditional virtual machines. We will look into the challenges faced by non-containerized applications and discover how Docker addresses these issues. Gain a broad understanding of the Docker architecture, peeling back the layers to comprehend the inner workings of containers.
In the practical segment of our tutorial, we containerize a sample React JS To-Do List web application, guiding you through the Dockerfile creation process. We emphasize the benefits of using a multi-stage Dockerfile, showcasing how it optimizes image creation and reduces size. Transitioning to cloud deployment, we explore Azure Container Instances (ACI), shedding light on their lightweight and efficient nature for running containers in the Azure environment.
The highlight of our tutorial is the step-by-step walkthrough of setting up an Azure DevOps CI/CD pipeline. Witness a live demonstration as we deploy our containerized To-Do List app to Azure Container Instances, providing you with tangible insights and practical skills for your development journey.
๐By the end of this video, you will learn the following:
What is a container
Understanding Virtual machine V/s Containers.
Challenges with the non-containerized applications
Docker Architecture
Containerize a sample To-Do list web app written in React JS.
Benefits of a multi-stage docker file
What are Azure container instances(ACI)
Azure DevOps CICD Pipeline to deploy to ACI
โ ๐๐น๐น ๐๐ต๐ฒ ๐ฐ๐ผ๐๐ฟ๐๐ฒ ๐ผ๐๐๐น๐ถ๐ป๐ฒ ๐ต๐ฎ๐ ๐ฏ๐ฒ๐ฒ๐ป ๐๐ฝ๐น๐ผ๐ฎ๐ฑ๐ฒ๐ฑ ๐๐ผ ๐บ๐ ๐๐ถ๐๐ต๐๐ฏ ๐ฟ๐ฒ๐ฝ๐ผ๐๐ถ๐๐ผ๐ฟ๐
github.com/piy...
โ ๐๐น๐น ๐๐ต๐ฒ ๐ป๐ผ๐๐ฒ๐ ๐ฎ๐ป๐ฑ ๐ฑ๐ถ๐ฎ๐ด๐ฟ๐ฎ๐บ๐ ๐ผ๐ณ ๐๐ต๐ถ๐ ๐๐ถ๐ฑ๐ฒ๐ผ ๐ต๐ฎ๐๐ฒ ๐ฏ๐ฒ๐ฒ๐ป ๐๐ฝ๐น๐ผ๐ฎ๐ฑ๐ฒ๐ฑ ๐๐ผ ๐๐ต๐ฒ ๐๐ฎ๐10 ๐ณ๐ผ๐น๐ฑ๐ฒ๐ฟ: github.com/piy...
Please support me and join me in this learning marathon. Your engagement, questions, and feedback will be invaluable as we embark on this journey together.
๐๐ข๐ ๐ฃ๐๐๐ง๐ ๐ง๐จ๐ง๐ข๐ฅ๐๐๐ ๐ฆ๐๐ฅ๐๐๐ฆ ๐ Itโs ๐ ต๐๐ ด๐ ด โณ
โ ๐๐๐๐ฟ๐ฒ ๐๐ฒ๐๐ข๐ฝ๐ ๐ญ๐ฒ๐ฟ๐ผ ๐๐ผ ๐๐ฒ๐ฟ๐ผ:
โข Azure DevOps Zero to H...
โ ๐๐ญ๐ต๐ฌ๐ฌ ๐๐๐๐ฟ๐ฒ ๐๐๐ป๐ฑ๐ฎ๐บ๐ฒ๐ป๐๐ฎ๐น๐ ๐๐๐น๐น ๐๐ผ๐๐ฟ๐๐ฒ
โข AZ900WithPiyush - Azur...
โ ๐ก๐ฎ๐บ๐ฎ๐๐๐ฒ ๐๐ผ๐ผ๐ด๐น๐ฒ ๐๐น๐ผ๐๐ฑ | ๐๐๐ฃ ๐ง๐๐๐ผ๐ฟ๐ถ๐ฎ๐น ๐ณ๐ผ๐ฟ ๐ฏ๐ฒ๐ด๐ถ๐ป๐ป๐ฒ๐ฟ๐, ๐ฎ ๐ฐ๐ผ๐บ๐ฝ๐น๐ฒ๐๐ฒ ๐ฝ๐น๐ฎ๐๐น๐ถ๐๐ ๐ณ๐ผ๐ฟ ๐๐ต๐ฒ ๐๐๐๐ผ๐ฐ๐ถ๐ฎ๐๐ฒ ๐๐น๐ผ๐๐ฑ ๐๐ป๐ด๐ถ๐ป๐ฒ๐ฒ๐ฟ (๐๐๐) ๐๐ฒ๐ฟ๐๐ถ๐ณ๐ถ๐ฐ๐ฎ๐๐ถ๐ผ๐ป ๐๐ ๐ฎ๐บ:
โข Namaste Google Cloud, ...
โ ๐๐๐๐ฟ๐ฒ ๐๐ฎ๐๐ฎ ๐ณ๐๐ป๐ฑ๐ฎ๐บ๐ฒ๐ป๐๐ฎ๐น๐ ๐๐ฃ ๐ต๐ฌ๐ฌ ๐ณ๐๐น๐น ๐ฐ๐ผ๐๐ฟ๐๐ฒ
โข Microsoft Azure Data F...
โ ๐๐ฒ๐ป๐ธ๐ถ๐ป๐ ๐ง๐๐๐ผ๐ฟ๐ถ๐ฎ๐น ๐ณ๐ผ๐ฟ ๐๐ฒ๐ด๐ถ๐ป๐ป๐ฒ๐ฟ๐
โข Jenkins Tutorial For B...
โ #๐ญ๐ฌ๐๐ฒ๐ฒ๐ธ๐๐ผ๐ณ๐ฐ๐น๐ผ๐๐ฑ๐ผ๐ฝ๐ - ๐ฅ๐ฒ๐ฎ๐น-๐๐ถ๐บ๐ฒ ๐ฐ๐ผ๐บ๐ฝ๐น๐ฒ๐ ๐ต๐ฎ๐ป๐ฑ๐-๐ผ๐ป ๐ฝ๐ฟ๐ผ๐ท๐ฒ๐ฐ๐๐ ๐ผ๐ป ๐๐น๐ผ๐๐ฑ ๐ฎ๐ป๐ฑ ๐๐ฒ๐๐ข๐ฝ๐
โข 10WeeksOfCloudOps Chal...
โ ๐๐ฒ๐๐ข๐ฝ๐ ๐ฎ๐ป๐ฑ ๐๐น๐ผ๐๐ฑ ๐ฃ๐ผ๐ฑ๐ฐ๐ฎ๐๐๐:
โข DevOps and Cloud Podcasts
โ ๐๐ถ๐๐น๐ฎ๐ฏ ๐๐ ๐๐ ๐ง๐๐๐ผ๐ฟ๐ถ๐ฎ๐น | ๐๐ป๐ฑ ๐ง๐ผ ๐๐ป๐ฑ ๐ฅ๐ฒ๐ฎ๐น-๐๐ถ๐บ๐ฒ ๐ฃ๐ฟ๐ผ๐ท๐ฒ๐ฐ๐ [๐๐๐น๐น ๐๐ผ๐๐ฟ๐๐ฒ]
โข Gitlab CI CD Tutorial ...
Subscribe to our channel to get notified about the latest videos.
๐ฅ / techtutorialswithpiyush
-----------------------------------------------------------------------------------------------------------------------
๐๐ผ๐ป๐ป๐ฒ๐ฐ๐ ๐บ๐ฒ ๐๐ฒ๐ฟ๐ฒ:๐๐
๐ฅ๐ฌ๐ผ๐๐ง๐๐ฏ๐ฒ โถ / techtutorialswithpiyush
โณ๐๐ถ๐ป๐ธ๐ฒ๐ฑ๐๐ป โถ / piyush-sachdeva
๐๐๐ป๐๐๐ฎ๐ด๐ฟ๐ฎ๐บ โถ / techtutorialswithpiyush
๐๐ง๐๐ถ๐๐๐ฒ๐ฟ โถ / techie_piyush
๐จโ๐ป ๐๐ถ๐๐ต๐๐ฏ โถ github.com/piy...
โ ๐ ๐ฒ๐ฑ๐ถ๐๐บ.๐ฐ๐ผ๐บ โถ / piyush.sachdeva055
๐ ๐ฑ๐ฒ๐.๐๐ผ โถ dev.to/piyushs...
โจ๐๐ถ๐๐ฐ๐ผ๐ฟ๐ฑ โถ / discord
-----------------------------------------------------------------------------------------------------------------------
References ๐:
#devops #techtutorialswithpiyush
Azure Container Instances
Docker
Azure Container Registry DevOps
Azure Container Instances
ACI
Docker Tutorial
Azure Container Registry
Docker Containers
Docker Multistage Build
Dockerize React App
Azure DevOps Tutorial for Beginners
Azure DevOps CI/CD
Docker
Azure Container Instance
Azure DevOps
Azure DevOps Pipeline
Azure DevOps Containers
Azure DevOps Concepts
Azure DevOps Zero to Hero
Azure DevOps Full Course
Azure DevOps Full Course for Beginners
I like the way you are explaining .Thank you very much
Thanks and welcome
Welcome back. Happy to see you โค
Thank you! ๐ค
Thanks for the video Piyush Sir :).
Just one i/p from my side, there is no need for "az acr login" step as we 're using the "dockerRegistryServiceConnection" in "Build and push" stage.
There was a reason why I did that, I dont remember now but I guess there was a bug , you can try removing acr login and see if it works.
You are right. I did it without az acr login. Thanks
Thanks for not adding any background music on it. As usual, great lecture.
You are welcome! Yeah I stopped adding the bg music. If you see any of my latest videos, only the intro and outro have a light bg music , removed it for the rest of the video.
happy new year
eagerly waiting
Happy new year bro ๐
Thanks a lot Piyush Sir for such a informative and practical Video !!
You're most welcome
Thank you for the high quality content
You're most welcome buddy. I'm glad you found it helpful
Quick question.
Can we create container instances first perform the deploy step?
Can you please elaborate, I didnot understand the question
@@TechTutorialswithPiyush itโs fine, I got it. Thanks for the reply.
New year gift ๐๐
Definitely brother. A happy new year to you and your family as well
Awesome stuff, learnt a lot Piyush. Thanks!
Thank you so much ๐
Happy New year Guru ji๐๐ stay blessed and healthy ๐โค
Thank you so much Bhai ๐ A very happy new year to you as well.
Awesome video!๐
Happy new year!!๐ฅณ
Happy new year to you as well ๐
Hello Piyush, I tried this videos handson and i am successfully able to build and run pipeline now when i am going to open or connect the docker image i am not able to open it or getting error : Tweb-socket
Hello Nilesh, please open a new thread in our Discord community's help-azdevops channel and make sure to provide all the details like what steps you have performed till now, your pipeline code, your error log and so on. Someone will help you
I am getting error
GetUserAccessToken: Failed to obtain an access token of identity f2ce........AAD returned silent feature after selecting docker in the pipeline and after giving container registry details in Azure Devops
Piyush sir, could you help me
I dont know where you are getting this error. Please join our discord community and share all the details including your pipeline code and steps you have performe.d
Will installer stage container will vanish automatically when deployer container is deployed?
In this case stage container will be only used as an interim short lived build and some content of that build will be used in the final image
@@TechTutorialswithPiyush Thankyou
happy new year sir
Happy new year to you and your family as well :)
Thanks for the tutorial. I am getting error "No such object: nginx:latest" while running the build. Could you please suggest solution for the same.
Can you share your Github repo with the code and the pipeline ?
Thanks a lot
Most welcome
Ur Linkindn id
can you please add the stet by step guide to create docker file on the notes and pipeline steps notes too! it will be more helpful
Dont worry, I have covered this step by step in the ongoing CKA series, there will be 3 dedicated videos for Docker. I am sure your doubts will be cleared, but feel free to reach out in case you still have any queries.
Sir, what is significance of
COPY . .
It copies the files from your local file system into the container. Wait for the CKA series and I have explained every concept in depth.
Can we have our own docker network and deploy two containers within the same network in azure container instances
Docker networking is abstracted for you in case of ACI as it's a managed service. you can deploy multiple customers on same ACI network
@@TechTutorialswithPiyush thankyou
@@legserver you're welcome
Hi Thanks for this video learnt a lot I am facing one error please help me on this error
Thank you for the feedback, replied to you other message related to the support.
waiting for Day-11/16
For Day11 editing in progress ๐ should be uploaded in a day or two
Its going to be a long video on Kubernetes
hi piyush, I have a doubt i can see your dns label line as --dns-name aci-demo-piyush101. in my case how can I change this?
Hello , This is your dns label on which your app will be available on the public IP, give it any unique name in the below command
inlineScript: |
az container create \
shall i share the error log can you share your email id
You can join our discord server and share the error logs as well as your pipeline yaml in the az devops help channel and someone will help you.