Day 2/40 - How To Dockerize a Project - CKA Full Course 2024

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024
  • With this comprehensive course, let's begin the journey to becoming a Certified Kubernetes Administrator (CKA)! Day 2 of 40 lays the groundwork for Kubernetes mastery by diving into further docker concepts, such as dockerizing a project using docker containers.
    In this video, you'll learn:
    ✍️ Dockerfile Demystified: We'll break down the concept of a Dockerfile, its syntax, and how to write one effectively.
    ✍️ Dockerizing Your Application: We'll walk you through containerizing your application step-by-step, using essential Docker commands. ️
    ✍️Docker Command Breakdown: Each Docker command will be explained in detail, ensuring you grasp their purpose and functionality within the containerization process.
    ✍️ Essential Docker Commands: Master the most commonly used commands to manage containers effectively.
    Why Docker is a Pre-Requisite for Kubernetes: Grasp the connection and why understanding Docker is crucial.
    🚀 Reinforce your knowledge with practical tasks in the Day 2 folder of our GitHub repository: github.com/piy...
    👨🏼‍💻 #40daysofKubernetes Challenge:
    Join our 40-day challenge and solidify your Kubernetes skills. Details can be found in the "#40daysofkubernetes.md" file on GitHub or by watching our Day 0 video.
    📖 Course Schedule:
    I'll release 3-4 videos per week and host live Q&A sessions on weekends to answer your questions and guide you through the CKA certification process.
    🕵🏻‍♂️ Who Should Watch:
    This CKA course is designed for beginners, college students, and working professionals who want to learn Kubernetes from scratch, prepare for the CKA certification exam, or enhance their knowledge. It was designed based on the latest curriculum for the CKA exam in May 2024 and uses 1.30.2 as the Kubernetes version.
    Let's start your Kubernetes 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
    How To Dockerize a Project
    cka full course 2024

ความคิดเห็น • 220

  • @matinpathan5186
    @matinpathan5186 หลายเดือนก่อน +5

    Word by word sentence by sentence it's crystal clear explanation even if we had paid and earned this type of explanation is not available with any tutorials best of luck piyush

  • @abhaytalole5138
    @abhaytalole5138 2 หลายเดือนก่อน +4

    33:45
    1. **Use a Lightweight Base Image**:
    - Example: `FROM alpine:latest`
    2. **Multi-Stage Builds**:
    - Build in one stage, copy artifacts to a clean stage.
    3. **Minimize Layers**:
    - Combine commands into a single `RUN`.
    - Example:
    ```Dockerfile
    RUN apt-get update && apt-get install -y package1 package2 && apt-get clean && rm -rf /var/lib/apt/lists/*
    ```
    4. **Remove Unnecessary Files**:
    - Delete temporary files and caches.

    5. **Use `.dockerignore` File**:
    - Exclude unnecessary files.
    - Example:
    ```
    node_modules
    *.log
    ```
    6. **Optimize Dependencies**:
    - Install only necessary dependencies.
    7. **Use `COPY` instead of `ADD`**:
    - `COPY` is more predictable.

  • @PraveenKumar-DevOps
    @PraveenKumar-DevOps 3 หลายเดือนก่อน +5

    Your explanations are clear, and the content is super valuable. For reduce the size, we will use multi-stage builds. waiting for next video.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  3 หลายเดือนก่อน +2

      Awesome, thank you for the correct answer! Yes, that's what we will be doing in the next video tomorrow.

  • @foehn23
    @foehn23 2 หลายเดือนก่อน +1

    Thank you very much for the tutorials. Unfortunately, I have run into an installation problem with Docker. I receive this error when opening the installer.
    "We've detected that you have an incompatible version of Windows.
    Docker Desktop requires Windows 10 Pro/Enterprise/Home version 19044 or above.
    To continue with the installation, upgrade Windows to a supported version and then re-run the installer."
    Would you happen to know how to solve this? I have looked everywhere online and cannot find a solution.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 หลายเดือนก่อน +1

      Yeah if you are running older versions of Windows, you might run into compatibility issues. I would suggest to install a Linux VM using virtualbox or vagrant and use that.

  • @adityapradhan2025
    @adityapradhan2025 2 หลายเดือนก่อน +2

    i just have one doubt
    writing and remembering all the binaries looks like a tough job because we cant remember all the binaries! so while writing dockerfiles should we memorize it or just search on the internet for the commands?

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 หลายเดือนก่อน +1

      That's true we cannot memorize all the binaries and all the steps especially if you are not the developer of that project and most of the times this list is too large to remember. However, you would be aware of all these when you have worked on the development of the project. That is why I mentioned that creating the dockerfile is responsibility of a developer. We are basically writing all the steps that we have taken to build and application into a dockerfile to automate the build and packaging process. dockefile is a file that contains step by step instructions to compile an app, install dependencies, package it and make it ready to be shipped. I hope this answered your question.

    • @adityapradhan2025
      @adityapradhan2025 2 หลายเดือนก่อน

      @@TechTutorialswithPiyush yes sir! I got it. Thanks a ton! ❤️

  • @bhushanofficial6153
    @bhushanofficial6153 9 วันที่ผ่านมา +1

    Hi Piyush , i had one question . i wanted to know that is this only for certification purpose ?
    I'm fresher working in MNC as Devops engineer. is this useful for me ? to understand the containerization and Kubernetes

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  8 วันที่ผ่านมา

      Hello Bhushan, This is not just for certification however, it covers certification as well. The series is someone who is a beginner to Kubernetes and covers the topics from beginner to intermediate level. I will be adding more videos to the playlist soon. Yes, it will be surely helpful for any DevOps/Cloud Engineer

  • @aleahembley8466
    @aleahembley8466 13 วันที่ผ่านมา +1

    Im moving from IT 3rd line service desk to cloud engineering! This is super helpful ❤ Thank you!

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  13 วันที่ผ่านมา

      Glad to know that my videos are being helpful ❤️ All the best for your transition into cloud, I wish it'll happen soon for you

  • @JohnFranklin55
    @JohnFranklin55 3 หลายเดือนก่อน +2

    in the section of the Dockerfile:
    COPY . . same as COPY . /app

  • @tvvuday
    @tvvuday 15 วันที่ผ่านมา +1

    For reducing image size, we can go with Docker multistage build.

  • @suraganimaheshkumar2805
    @suraganimaheshkumar2805 17 วันที่ผ่านมา +1

    Sir, You are doing a good service. Thanks Alot🙏🏼

  • @amitmitra8907
    @amitmitra8907 2 หลายเดือนก่อน +1

    Docker hub is not using in industry due to security issue , Pls puts some light where industry acceptance mechanism is being used .

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 หลายเดือนก่อน

      I totally agree with you that docker hub is not industry standard however, the playlist was designed from a beginner's perspective so I had to start with dockerhub. In the end we will also be self hosting a container registry. The other thing to remember, docker enterprise offers a self hosting option with enterprise support, which is an industry standard.

  • @devopsoncloud
    @devopsoncloud 3 หลายเดือนก่อน +1

    ​​sir I am using docker desktop there is a container dangling stage please explain it

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  3 หลายเดือนก่อน +2

      a dangling image just means that you've created the new build of the image, but it wasn't given a new name. So the old images you have becomes the "dangling image". Those old image are the ones that are untagged and displays "" on its name when you run docker images.
      When running docker system prune -a, it will remove all stopped containers, images and networks without a container associated, and build cache. Be Careful!

  • @onkarcharkupalli6611
    @onkarcharkupalli6611 3 หลายเดือนก่อน +1

    Awesome and clear explanations. Built and published image using windows with docker desktop and wsl. Got a doubt, if "WORKDIR /app" is similar to cd app, so the next command -> "COPY . ." would it run inside the app dir right? Or please correct me if I am wrong. Thank you

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  3 หลายเดือนก่อน +1

      WORKDIR would make the /app directory as the home directory of the container.
      COPY . . ( First dot is the current directory content and second dot is the workdir inside the container) Hope it helps

    • @onkarcharkupalli6611
      @onkarcharkupalli6611 3 หลายเดือนก่อน

      @@TechTutorialswithPiyush Helpful!

  • @nope-ms4rx
    @nope-ms4rx 2 หลายเดือนก่อน +3

    You are that guy! Keep rolling! The interactions, likes, subscriptions, and more will follow in due time. You truly are gifted as a guide/teacher.

  • @khznm2174
    @khznm2174 หลายเดือนก่อน +1

    how to get to this terminal , i tried command prompt , git cmd , wsl cli ,,, i dont see the terminal icon on docker window

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  หลายเดือนก่อน

      That is present only on mac. You can use gitbash if you are on windows or install a Linux Virtual machine such as Ubuntu

  • @niksojitra
    @niksojitra 3 หลายเดือนก่อน +1

    To reduce the size of a large Docker container image, we can:
    Use Multi-Stage Builds: Separate the build and runtime environments.
    Choose Minimal Base Images: Use images like alpine or scratch.
    Optimize Layer Structure: Combine commands to reduce the number of layers.
    Remove Unnecessary Files: Clean up caches and temporary files.
    Use .dockerignore: Exclude unneeded files from the build context.
    Minimize Dependencies: Only install necessary dependencies.
    Strip Binaries: Remove debug symbols and unnecessary parts from binaries.
    Externalize Configuration: Use environment variables or volumes for configuration.
    Compress and Optimize Assets: Reduce the size of images, fonts, and other assets.
    These practices help keep your Docker image as lean as possible.

  • @Mr.Ash-cz9rf
    @Mr.Ash-cz9rf วันที่ผ่านมา

    Good, and clear explaination, Thanks for the vedio. To explore it in details could you suggest me any books for containerize application.

  • @TravellingSquad
    @TravellingSquad 3 หลายเดือนก่อน +1

    Hey Piyush....Again you are with great content of docker. I appreciate your hard work and valuable time for teaching us. Hats off to you man..!! Please release daily basis video on this series I know it will difficult for you to manage but it will stay us to stick with you. See you in next video 👍 Your last question answer is ---> if we want to reduce our image size then we can use multi-stage Dockerfile.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  3 หลายเดือนก่อน +2

      Thank you for the feedback and yes, the answer is spot on.
      Regarding the daily video request:
      I have finished recording the entire series and am editing the last few videos. I plan to publish 3 to 4 weekly videos every Monday through Thursday at 6 AM EST/3:30 PM IST. I have chosen not to publish daily so that viewers following the series have time to understand the concepts, practice hands-on, document their learning, and not feel left behind.
      I hope you understand :)

  • @debillion
    @debillion 3 หลายเดือนก่อน +1

    To make it smaller, remove all those "noise" like the node_modules that are irrelevant to the image. To remove them, you can use the dockerignore. that is, create new new file called dockerignore and place those irrelevants files inside.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  3 หลายเดือนก่อน +2

      Dockerignore is one way of excluding the irrelevant files, and docker multi-stage build helps a lot to reduce the image size.

  • @omkarmorbale5932
    @omkarmorbale5932 2 หลายเดือนก่อน +1

    which terminal to use in case of Docker installed in windows?

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 หลายเดือนก่อน

      You can use wsl on windows or try gitbash but I would recommend installing an Ubuntu virtual machine.

    • @omkarmorbale5932
      @omkarmorbale5932 2 หลายเดือนก่อน

      @@TechTutorialswithPiyush I will try this

  • @techrohhit
    @techrohhit 3 หลายเดือนก่อน +1

    Multi stage docker build

  • @jensenjose682
    @jensenjose682 3 หลายเดือนก่อน +1

    We can use multi-stage Dockerfile to reduce the size of the docker image.

  • @Ethiofunnyshortvideos
    @Ethiofunnyshortvideos 2 หลายเดือนก่อน +1

    Completed day02 challenge to day, It is very helpful, I enjoyed the video a lot and also I learned a lot, I will try to catch up with you guys as I can 🏃‍♂🏃‍♂🏃‍♂🏃‍♂🏃‍♂🏃‍♂🏃‍♂

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 หลายเดือนก่อน

      I am glad that you found it helpful! Let's go with the next one!

  • @uttamsharma9042
    @uttamsharma9042 3 หลายเดือนก่อน +2

    Hello Sir

  • @KsChina
    @KsChina หลายเดือนก่อน

    Struggled a bit with docker, docker desktop, and docker hub authentication on my linux box. Ended up uninstalling and reinstalling docker desktop. Now we're getting back to it.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  หลายเดือนก่อน

      Awesome, we use things, we break it and then we fix it, That's how we learn 👍💪

  • @BHAGI5555
    @BHAGI5555 3 หลายเดือนก่อน

    TIME STAMP 22:10 after getting build , how the docker desktop (images) showing local repo , didn't even yet logged in to docker right

  • @sahiyadri2611
    @sahiyadri2611 3 หลายเดือนก่อน +1

    Sir if possible please keep the working windows size bigger than other window, always need to zoom while learning..
    Content is gr8

  • @Audi88835
    @Audi88835 28 วันที่ผ่านมา +1

    Thanks piyush 👍

  • @christober.s7006
    @christober.s7006 3 หลายเดือนก่อน

    I think for reducing the sizing of image we can use multi statge build which means using multiple FROM

  • @Travelwithakki007
    @Travelwithakki007 หลายเดือนก่อน

    Hello can someone let me know were we need run this command ? are you running this command in Linux ?

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  หลายเดือนก่อน +1

      I'm using a macbook which comes with an inbuilt terminal. If you are on windows, you can install gitbash or I'd recommend doing it on Ubuntu machine

  • @moinkhanpathan6066
    @moinkhanpathan6066 2 หลายเดือนก่อน

    Are you using a linux machine because i am trying the same in windows and the commands are not working or does docker have a diffrent command prompt terminal

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 หลายเดือนก่อน

      I'm using a Mac terminal but you can use a Linux machine or WSL on Windows. I'd recommend Linux

  • @krishnaprasath-jh5gb
    @krishnaprasath-jh5gb 3 หลายเดือนก่อน +1

    Thanks for the day 2 video sir it was helpfull. Cheers to new learnings

  • @pranay_vlogs_20
    @pranay_vlogs_20 2 หลายเดือนก่อน +1

    very cool tutorial and with neat explanation.

  • @saurabhjain374
    @saurabhjain374 3 หลายเดือนก่อน +1

    waiting for 2nd video

  • @salmanbintariq007
    @salmanbintariq007 3 หลายเดือนก่อน +4

    Always tag your images with a clear, version-specific tag like `repo/image:v1`. This helps you track changes and makes it easy to roll back to previous versions if needed. Avoid using the `latest` tag because it can be unclear which version you are running, making it harder to debug issues and ensure consistency across different environments.

  • @KRISHNAKUMAR-yj3dx
    @KRISHNAKUMAR-yj3dx 3 หลายเดือนก่อน +1

    Awesome series!!!!
    Thanks a lot for detailed explanation!!!!!

  • @Nazrulislam13
    @Nazrulislam13 3 หลายเดือนก่อน +1

    Thank you for your hard work; this series is absolutely fantastic!

  • @shubhamgawas87
    @shubhamgawas87 หลายเดือนก่อน +1

    FYI for all, 11:30
    lts - long term support
    latest - latest image
    great series sir !

  • @JJ15982
    @JJ15982 3 หลายเดือนก่อน +1

    Lets go Piyush I am excited!! first comment here

  • @khaleel_sheikh
    @khaleel_sheikh 3 หลายเดือนก่อน

    I have one doubt, how can we connect to the windows terminal and execute docker related commands.

  • @sundaydaodu1234
    @sundaydaodu1234 3 หลายเดือนก่อน

    All the command should be running on the window terminal

  • @venkatg-o4h
    @venkatg-o4h หลายเดือนก่อน +1

    Excellent content to start. Thank you Piyush

  • @vm_naveen
    @vm_naveen 3 หลายเดือนก่อน

    We can write multi-stage Docker file and make use of runtime !

  • @strangemate
    @strangemate 2 หลายเดือนก่อน +1

    lovely video, thanks

  • @mohdshahzad5332
    @mohdshahzad5332 2 หลายเดือนก่อน +1

    we can use docker-compose for reduce the size

    • @mohdshahzad5332
      @mohdshahzad5332 2 หลายเดือนก่อน +1

      mast video majja aagaya reeally👍

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 หลายเดือนก่อน

      No docker compose is used to simplify the container management when there are multiple containers, it doesnt help reducing the size. Checkout the day3 video for the answer.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 หลายเดือนก่อน

      Thanks bro

    • @mohdshahzad5332
      @mohdshahzad5332 2 หลายเดือนก่อน +1

      @@TechTutorialswithPiyushokay thanks for simply explanation

  • @LaxmiAdavalli-o5k
    @LaxmiAdavalli-o5k 2 หลายเดือนก่อน +1

    Well explained.. Enjoying while learning😊

  • @daodusunday1234
    @daodusunday1234 3 หลายเดือนก่อน +1

    Day 2

  • @vinaykumar-qq9wq
    @vinaykumar-qq9wq 3 หลายเดือนก่อน +1

    Excellent take-off. keep up the good work for community.
    Looking forward for docker multi stage builds.👏👏👏
    @TechTutorialswithPiyush

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  3 หลายเดือนก่อน

      Thank you for the feedback! Yes, let's move forward with the next video.

  • @Nareshmanam458
    @Nareshmanam458 3 หลายเดือนก่อน +1

    waitng for 2nd video

  • @SandeepChikkala-i4s
    @SandeepChikkala-i4s 22 วันที่ผ่านมา

    WEll Explained 🙌🙌

  • @Aza.dChaiwala
    @Aza.dChaiwala 2 หลายเดือนก่อน +1

    I ran the docker build command but i always get error when it gets to the run stage, why?

    • @Aza.dChaiwala
      @Aza.dChaiwala 2 หลายเดือนก่อน +1

      The run yarn command shows error

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 หลายเดือนก่อน

      what error? there might be some issues with the dockerfile

    • @Aza.dChaiwala
      @Aza.dChaiwala 2 หลายเดือนก่อน +1

      @@TechTutorialswithPiyush I created the same same docker file as u, then when i run the command when it gets to run yarn stage it returns error

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 หลายเดือนก่อน

      @@Aza.dChaiwala Bro without knowing the error no one can help me, share the error

    • @Aza.dChaiwala
      @Aza.dChaiwala 2 หลายเดือนก่อน

      @@TechTutorialswithPiyush
      => ERROR [4/4] RUN yarn install --production

  • @rzeee
    @rzeee หลายเดือนก่อน

  • @Risabhmewara
    @Risabhmewara หลายเดือนก่อน

    Awesome Piyush !! Great Details and Teaching...Really Excellent &Awesome

  • @JohnFranklin55
    @JohnFranklin55 3 หลายเดือนก่อน

    multi-stages docker build

  • @johnk8286
    @johnk8286 3 หลายเดือนก่อน

    Day 2 .. are u using the CMD prompt ?

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  3 หลายเดือนก่อน

      I am using Mac terminal but if you are on windows, you can use gitbash

  • @thewanderlustrides
    @thewanderlustrides หลายเดือนก่อน

    nice way of explaining. I really liked the step by step way to perform all the exercises. Enjoying the sessions!

  • @sagarmaske8761
    @sagarmaske8761 3 หลายเดือนก่อน

    Docker compose

  • @mohanmurali7975
    @mohanmurali7975 2 หลายเดือนก่อน

    Hi sir when to use bash and sh to exec into the container??

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 หลายเดือนก่อน +1

      It depends on the container image, most of the Linux based images have sh and some have bash, you can use according to that

  • @mike4485
    @mike4485 หลายเดือนก่อน +1

    Great session .. Thank you

  • @daodusunday1234
    @daodusunday1234 3 หลายเดือนก่อน +2

    Very Educative. Thank You Sir

  • @madhavamsaxena2860
    @madhavamsaxena2860 3 หลายเดือนก่อน

    Multistage docker images

  • @khznm2174
    @khznm2174 หลายเดือนก่อน +1

    great, this is the first time i did a docker exercise

  • @nikhildubba9387
    @nikhildubba9387 3 หลายเดือนก่อน +1

    Thank you so much! Awesome content

  • @girdhar3224
    @girdhar3224 3 หลายเดือนก่อน

    Man I don't even know js very well
    But im learning docker because the videos is so enthusiastic that it makes me concentrate with all eyes and ears

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  3 หลายเดือนก่อน

      I did not focus much on the application code as I am not a developer and the course is not focused from development point of view. I am glad that you found the video interesting :)

  • @johnpaulden007
    @johnpaulden007 3 หลายเดือนก่อน

    Following.. much appreciated you posting the content now !! In depth explanation.. !!

  • @somenghosh4163
    @somenghosh4163 3 หลายเดือนก่อน

    Just wow .. what an explaination and rich content !! Thanks Piyush. Will share it in other platform to make it reach to wider community.

  • @rajbir_singh0517
    @rajbir_singh0517 หลายเดือนก่อน

    it is great session.. you are awesome

  • @helloHabibDotCom
    @helloHabibDotCom 3 หลายเดือนก่อน

    Thank you for publishing the valuable course. It would be better if you make the main display screen (where u actually code) larger so that we can see the main content more clearly.

  • @kanikv4480
    @kanikv4480 3 หลายเดือนก่อน +1

    Thank you a lot sir.❤❤❤

  • @pummysolanki5025
    @pummysolanki5025 3 หลายเดือนก่อน

    Hello Sir, why do we use Docker tag ?

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  3 หลายเดือนก่อน

      That's a really good question. I should have explained this.
      Before pushing the image to any repo we need to add a few details to the image such as tag prefix and suffix. If you are using docker hub repository then you tag it with reponame/imagename:tag where tag could be the commitid, sha , build id or anything relevant. If you have multiple environments then you tag the images based on the environment for which you would like to use that image. The same image should go to all the environment but we tag them seperately for instance, the image is deployed in dev then we tag it as dev-tested and then it is ready to be deployed in uat, once it is tested in uat, you tag it as uat-tested and then it is ready to go to prod. And you can use seperate repositories for seperate environment but you are actually promoting the same image from one repo to another as per their release status.
      I hope this answered your question.

    • @pummysolanki5025
      @pummysolanki5025 3 หลายเดือนก่อน

      @@TechTutorialswithPiyush It’s great 😊 thank u
      Also one more thing, will it be sufficient for appearing to CLA exam, and anything else required to go through then please guide us that too 🙏😊

  • @SinaTavakkol
    @SinaTavakkol 3 หลายเดือนก่อน

    Hello and thanks for the video, we can use multi-staging for reducing the volume of an image!

  • @nousheensafoora206
    @nousheensafoora206 5 วันที่ผ่านมา

    day-2 completed

  • @gibrankhan8232
    @gibrankhan8232 หลายเดือนก่อน +1

    Nicely explained

  • @nithinprabhakar6583
    @nithinprabhakar6583 3 หลายเดือนก่อน +1

    Day 02 Amazing 🐫

  • @IrshadAli-xv5ip
    @IrshadAli-xv5ip หลายเดือนก่อน

    thank you sir ❤❤

  • @joethomas5122
    @joethomas5122 3 หลายเดือนก่อน

    Multi stage build

  • @SiddeshK.R.-wq9ee
    @SiddeshK.R.-wq9ee 3 หลายเดือนก่อน

    what is "yarn"?

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  3 หลายเดือนก่อน +1

      It is a package manager just like npm. We use it to install dependencies, compile and package the code into build.

  • @rishavkushwah9157
    @rishavkushwah9157 3 หลายเดือนก่อน

    Awesome Thank you sir , now I can say I am really learning the docker

  • @HimaniChauhan-rm1fb
    @HimaniChauhan-rm1fb 3 หลายเดือนก่อน

    Your explanations are relatable and easy to understand. The content is truly impressive.

  • @printdevismitasahoo1407
    @printdevismitasahoo1407 3 หลายเดือนก่อน

    Nice Explanation,We can use distroless image to reduce and multi stage docker also. Another thing I want to add that can you use AWS terminal for the practice session, so that will be more user friendly.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  3 หลายเดือนก่อน

      Thanks for the feedback. Yes, you are right about using distroless and multi stage docker build.
      I could have used aws terminal or azure or gcp cloud shell but that is not the motive of this series. I tried to make it cloud vendor independent so that people who are working on a different cloud can also learn it. You can use a terminal locally or on a virtual machine or virtualbox , multipass etc.

    • @printdevismitasahoo1407
      @printdevismitasahoo1407 3 หลายเดือนก่อน

      @@TechTutorialswithPiyush can you add UPI payment method for channel membership payment

  • @KumarD-y2k
    @KumarD-y2k 3 หลายเดือนก่อน

    Thank you

  • @Anonymous_810
    @Anonymous_810 3 หลายเดือนก่อน

    Cfbr

  • @artbart9080
    @artbart9080 3 หลายเดือนก่อน

    Very informative!Thanks you!

  • @aparajitadas2673
    @aparajitadas2673 หลายเดือนก่อน

    Excellent explanation and hand holding practice

  • @ojosamuel3777
    @ojosamuel3777 3 หลายเดือนก่อน

    Awesome content. Waiting for the next !!! Great work

  • @saheedabdulrahman2536
    @saheedabdulrahman2536 3 หลายเดือนก่อน

    Smoothly delivered. Kudos

  • @AndeSahith
    @AndeSahith 3 หลายเดือนก่อน

    very informative, thanks.

  • @sagarbirla2879
    @sagarbirla2879 3 หลายเดือนก่อน

    it provides me a lot of celerity in Docker

  • @ashwinr4901
    @ashwinr4901 3 หลายเดือนก่อน

    Great thanks for the clear explanations

  • @girishk1142
    @girishk1142 2 หลายเดือนก่อน

    awesome :)))))

  • @floehden
    @floehden 3 หลายเดือนก่อน

    Thank you for this Video!

  • @vishtaralekar
    @vishtaralekar 3 หลายเดือนก่อน

    Clear to understand, Thank you.

  • @siddharthsingh9253
    @siddharthsingh9253 3 หลายเดือนก่อน

    Thank you

  • @prthmsh2930
    @prthmsh2930 3 หลายเดือนก่อน +2

    dockerignore

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  3 หลายเดือนก่อน

      Yes forgot that, actually there are many more commands but it was just the basic docker intro, I will include them in the Github repo. Thanks for pointing it out

  • @karnajeetsawant5635
    @karnajeetsawant5635 3 หลายเดือนก่อน

    Exciteddd!!! Can't Wait..

  • @SamsonAruna-pp2se
    @SamsonAruna-pp2se 3 หลายเดือนก่อน

    Clearly explained.

  • @christober.s7006
    @christober.s7006 3 หลายเดือนก่อน

    Done and shared the task

  • @sudarsansai4215
    @sudarsansai4215 3 หลายเดือนก่อน

    Informative

  • @ROHITKUMAR-ym2bj
    @ROHITKUMAR-ym2bj 3 หลายเดือนก่อน

    best video sir

  • @kubedigitalhub
    @kubedigitalhub 3 หลายเดือนก่อน

    Thank you