Day-10/16 Getting Started With Docker Container | Azure DevOps CICD for Azure Container Instances

Sdรญlet
Vloลพit
  • ฤas pล™idรกn 31. 12. 2023
  • 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/piyushsachdeva/Azu...
    โœ… ๐—”๐—น๐—น ๐˜๐—ต๐—ฒ ๐—ป๐—ผ๐˜๐—ฒ๐˜€ ๐—ฎ๐—ป๐—ฑ ๐—ฑ๐—ถ๐—ฎ๐—ด๐—ฟ๐—ฎ๐—บ๐˜€ ๐—ผ๐—ณ ๐˜๐—ต๐—ถ๐˜€ ๐˜ƒ๐—ถ๐—ฑ๐—ฒ๐—ผ ๐—ต๐—ฎ๐˜ƒ๐—ฒ ๐—ฏ๐—ฒ๐—ฒ๐—ป ๐˜‚๐—ฝ๐—น๐—ผ๐—ฎ๐—ฑ๐—ฒ๐—ฑ ๐˜๐—ผ ๐˜๐—ต๐—ฒ ๐——๐—ฎ๐˜†10 ๐—ณ๐—ผ๐—น๐—ฑ๐—ฒ๐—ฟ: github.com/piyushsachdeva/Azu...
    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/piyushsachdeva
    โœ ๐— ๐—ฒ๐—ฑ๐—ถ๐˜‚๐—บ.๐—ฐ๐—ผ๐—บ โ–ถ / piyush.sachdeva055
    ๐Ÿ“š ๐—ฑ๐—ฒ๐˜ƒ.๐˜๐—ผ โ–ถ dev.to/piyushsachdeva
    โœจ๐——๐—ถ๐˜€๐—ฐ๐—ผ๐—ฟ๐—ฑ โ–ถ / 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
  • Vฤ›da a technologie

Komentรกล™e • 40

  • @aakashpunekar9437
    @aakashpunekar9437 Pล™ed 5 mฤ›sรญci +1

    Welcome back. Happy to see you โค

  • @devarshishimpi
    @devarshishimpi Pล™ed 5 mฤ›sรญci +1

    Awesome video!๐Ÿ’œ
    Happy new year!!๐Ÿฅณ

  • @Jalal921
    @Jalal921 Pล™ed 5 mฤ›sรญci +1

    Thank you for the high quality content

  • @harshavignesh1
    @harshavignesh1 Pล™ed 5 mฤ›sรญci +1

    Awesome stuff, learnt a lot Piyush. Thanks!

  • @vikramadhithyamukthapeeda2419
    @vikramadhithyamukthapeeda2419 Pล™ed 6 mฤ›sรญci +1

    happy new year
    eagerly waiting

  • @rutumbharapasupalak5577
    @rutumbharapasupalak5577 Pล™ed mฤ›sรญcem +1

    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

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  Pล™ed mฤ›sรญcem

      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.

  • @mgdesire9255
    @mgdesire9255 Pล™ed 5 mฤ›sรญci +1

    Happy New year Guru ji๐ŸŽ‰๐ŸŽ‰ stay blessed and healthy ๐Ÿ˜Šโค

  • @abduljaweed2886
    @abduljaweed2886 Pล™ed 6 mฤ›sรญci +2

    New year gift ๐Ÿ˜๐Ÿ˜

  • @nileshhthakur2004
    @nileshhthakur2004 Pล™ed 2 mฤ›sรญci +1

    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

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  Pล™ed 2 mฤ›sรญci

      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

  • @pankajkhaitan8972
    @pankajkhaitan8972 Pล™ed mฤ›sรญcem +1

    Will installer stage container will vanish automatically when deployer container is deployed?

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  Pล™ed mฤ›sรญcem +1

      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

    • @pankajkhaitan8972
      @pankajkhaitan8972 Pล™ed mฤ›sรญcem +1

      @@TechTutorialswithPiyush Thankyou

  • @happyshoppi1036
    @happyshoppi1036 Pล™ed mฤ›sรญcem +1

    Hi Thanks for this video learnt a lot I am facing one error please help me on this error

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  Pล™ed mฤ›sรญcem

      Thank you for the feedback, replied to you other message related to the support.

  • @mukeshkumarbarnwal2011
    @mukeshkumarbarnwal2011 Pล™ed mฤ›sรญcem +1

    Sir, what is significance of
    COPY . .

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  Pล™ed mฤ›sรญcem

      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.

  • @amanverma5469
    @amanverma5469 Pล™ed 16 dny

    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.

  • @AtulSingh-lr1bf
    @AtulSingh-lr1bf Pล™ed 5 mฤ›sรญci +1

    happy new year sir

  • @legserver
    @legserver Pล™ed 5 mฤ›sรญci +1

    Can we have our own docker network and deploy two containers within the same network in azure container instances

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  Pล™ed 5 mฤ›sรญci +1

      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

    • @legserver
      @legserver Pล™ed 5 mฤ›sรญci +1

      @@TechTutorialswithPiyush thankyou

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  Pล™ed 5 mฤ›sรญci

      @@legserver you're welcome

  • @user-sl4ds4kj3s
    @user-sl4ds4kj3s Pล™ed 5 mฤ›sรญci +1

    waiting for Day-11/16

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  Pล™ed 5 mฤ›sรญci

      For Day11 editing in progress ๐Ÿ˜€ should be uploaded in a day or two
      Its going to be a long video on Kubernetes

  • @kathirvelp2319
    @kathirvelp2319 Pล™ed mฤ›sรญcem +1

    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?

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  Pล™ed mฤ›sรญcem

      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 \

  • @happyshoppi1036
    @happyshoppi1036 Pล™ed mฤ›sรญcem +1

    shall i share the error log can you share your email id

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  Pล™ed mฤ›sรญcem

      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.