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

  Рет қаралды 24,661

Tech Tutorials with Piyush

Tech Tutorials with Piyush

Күн бұрын

Пікірлер
@abhaytalole5138
@abhaytalole5138 5 ай бұрын
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.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
Good job
@shubhamgawas87
@shubhamgawas87 4 ай бұрын
FYI for all, 11:30 lts - long term support latest - latest image great series sir !
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
Thank you so much
@aleahembley8466
@aleahembley8466 3 ай бұрын
Im moving from IT 3rd line service desk to cloud engineering! This is super helpful ❤ Thank you!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 3 ай бұрын
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
@nope-ms4rx
@nope-ms4rx 5 ай бұрын
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.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
I appreciate that!
@PraveenKumar-DevOps
@PraveenKumar-DevOps 6 ай бұрын
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 6 ай бұрын
Awesome, thank you for the correct answer! Yes, that's what we will be doing in the next video tomorrow.
@gokulprasathnandhakumar8313
@gokulprasathnandhakumar8313 19 күн бұрын
Day -2 completed, for me, it was hard to understand and remember commands but I successfully created my first docker image and container.
@matinpathan5186
@matinpathan5186 4 ай бұрын
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
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
It feels great to know that 😄 Thank you
@suraganimaheshkumar2805
@suraganimaheshkumar2805 3 ай бұрын
Sir, You are doing a good service. Thanks Alot🙏🏼
@TechTutorialswithPiyush
@TechTutorialswithPiyush 3 ай бұрын
You're most welcome
@abhijitdash9780
@abhijitdash9780 17 күн бұрын
today I completed day02 and It's so amazing.
@HimaniChauhan-rm1fb
@HimaniChauhan-rm1fb 6 ай бұрын
Your explanations are relatable and easy to understand. The content is truly impressive.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thank you so much! I am glad you found it helpful.
@GrigTech
@GrigTech 2 ай бұрын
Re-watch series again, on my path to achieve CKA, greate course , Tahnk You Piyush. Hopefully in near future see other cert path related to K8S
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
Always welcome, and yes, many more coming soon
@Nazrulislam13
@Nazrulislam13 6 ай бұрын
Thank you for your hard work; this series is absolutely fantastic!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
You're very welcome!
@SherazKhan94
@SherazKhan94 Ай бұрын
You are amazing Piyush!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 27 күн бұрын
Thank you my friend.
@niksojitra
@niksojitra 6 ай бұрын
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.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
That's absolutely correct!
@krishnaprasath-jh5gb
@krishnaprasath-jh5gb 6 ай бұрын
Thanks for the day 2 video sir it was helpfull. Cheers to new learnings
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Awesome! Thanks for the feedback!
@johnpaulden007
@johnpaulden007 6 ай бұрын
Following.. much appreciated you posting the content now !! In depth explanation.. !!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
My pleasure!
@varunjoshi4410
@varunjoshi4410 3 ай бұрын
Great stuff brother!
@venkatg-o4h
@venkatg-o4h 5 ай бұрын
Excellent content to start. Thank you Piyush
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
you're welcome
@pranay_vlogs_20
@pranay_vlogs_20 5 ай бұрын
very cool tutorial and with neat explanation.
@somenghosh4163
@somenghosh4163 6 ай бұрын
Just wow .. what an explaination and rich content !! Thanks Piyush. Will share it in other platform to make it reach to wider community.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thank you so much buddy! I truly appreciate it
@Ethiofunnyshortvideos
@Ethiofunnyshortvideos 5 ай бұрын
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 5 ай бұрын
I am glad that you found it helpful! Let's go with the next one!
@KRISHNAKUMAR-yj3dx
@KRISHNAKUMAR-yj3dx 6 ай бұрын
Awesome series!!!! Thanks a lot for detailed explanation!!!!!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
You're welcome
@thewanderlustride
@thewanderlustride 4 ай бұрын
nice way of explaining. I really liked the step by step way to perform all the exercises. Enjoying the sessions!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
Glad you enjoyed it!
@Greaterbangalore1
@Greaterbangalore1 Ай бұрын
You're simply great bro !
@TechTutorialswithPiyush
@TechTutorialswithPiyush Ай бұрын
Thank you 🙏
@karthikkrishna305
@karthikkrishna305 2 ай бұрын
You are Amazing bro! Keep up the good work!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
Thank you so much, bro! 🙏
@aparajitadas2673
@aparajitadas2673 4 ай бұрын
Excellent explanation and hand holding practice
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
Glad you found it helpful 🙂
@LaxmiAdavalli-o5k
@LaxmiAdavalli-o5k 5 ай бұрын
Well explained.. Enjoying while learning😊
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
Thanks for liking!
@TravellingSquad
@TravellingSquad 6 ай бұрын
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 6 ай бұрын
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 :)
@vinaykumar-qq9wq
@vinaykumar-qq9wq 6 ай бұрын
Excellent take-off. keep up the good work for community. Looking forward for docker multi stage builds.👏👏👏 @TechTutorialswithPiyush
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thank you for the feedback! Yes, let's move forward with the next video.
@Risabhmewara
@Risabhmewara 5 ай бұрын
Awesome Piyush !! Great Details and Teaching...Really Excellent &Awesome
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
Thanks a ton
@mike4485
@mike4485 4 ай бұрын
Great session .. Thank you
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
You're welcome
@rishavkushwah21
@rishavkushwah21 6 ай бұрын
Awesome Thank you sir , now I can say I am really learning the docker
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Let's go 🚀💪
@saheedabdulrahman2536
@saheedabdulrahman2536 6 ай бұрын
Smoothly delivered. Kudos
@strangemate
@strangemate 5 ай бұрын
lovely video, thanks
@ojosamuel3777
@ojosamuel3777 6 ай бұрын
Awesome content. Waiting for the next !!! Great work
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thanks a ton, next video tomorrow.
@prasad_yt
@prasad_yt 6 ай бұрын
Clear and crisp !✅
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thank you so much
@printdevismitasahoo1407
@printdevismitasahoo1407 6 ай бұрын
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 6 ай бұрын
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 6 ай бұрын
@@TechTutorialswithPiyush can you add UPI payment method for channel membership payment
@kanikv4480
@kanikv4480 6 ай бұрын
Thank you a lot sir.❤❤❤
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Welcome
@nikhildubba9387
@nikhildubba9387 6 ай бұрын
Thank you so much! Awesome content
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thanks
@gibrankhan8232
@gibrankhan8232 4 ай бұрын
Nicely explained
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
Thank you so much 🙂
@nithinprabhakar6583
@nithinprabhakar6583 6 ай бұрын
Day 02 Amazing 🐫
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thank you so much
@khznm2174
@khznm2174 5 ай бұрын
great, this is the first time i did a docker exercise
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
Don't stop now 🚀
@daodusunday1234
@daodusunday1234 6 ай бұрын
Very Educative. Thank You Sir
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
You are welcome, glad it was helpful!
@rajbir_singh0517
@rajbir_singh0517 4 ай бұрын
it is great session.. you are awesome
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
Glad you enjoyed it 😄
@karnajeetsawant5635
@karnajeetsawant5635 6 ай бұрын
Exciteddd!!! Can't Wait..
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thanks a lot 😊
@SinaTavakkol
@SinaTavakkol 6 ай бұрын
Hello and thanks for the video, we can use multi-staging for reducing the volume of an image!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Hello Sina, that is absolutely correct. Thank you
@ashwinr4901
@ashwinr4901 6 ай бұрын
Great thanks for the clear explanations
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
You're welcome buddy!
@vishtaralekar
@vishtaralekar 6 ай бұрын
Clear to understand, Thank you.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
You're welcome!
@Mr.Ash-cz9rf
@Mr.Ash-cz9rf 3 ай бұрын
Good, and clear explaination, Thanks for the vedio. To explore it in details could you suggest me any books for containerize application.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 3 ай бұрын
If you want to go deep into it, follow the official documentation after this
@christober.s7006
@christober.s7006 6 ай бұрын
Done and shared the task
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Amazing, well done buddy
@SandeepChikkala-i4s
@SandeepChikkala-i4s 3 ай бұрын
WEll Explained 🙌🙌
@GowthamKumar-vf9qc
@GowthamKumar-vf9qc Ай бұрын
Thak you Bro 🥰
@TechTutorialswithPiyush
@TechTutorialswithPiyush Ай бұрын
You're welcome! Happy to help. 🚀
@Audi88835
@Audi88835 4 ай бұрын
Thanks piyush 👍
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
Welcome 😊
@salmanbintariq007
@salmanbintariq007 6 ай бұрын
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.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Great job!
@helloHabibDotCom
@helloHabibDotCom 6 ай бұрын
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.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thank you for the feedback. Point noted.
@ROHITKUMAR-ym2bj
@ROHITKUMAR-ym2bj 6 ай бұрын
best video sir
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thank you so much Rohit!
@floehden
@floehden 6 ай бұрын
Thank you for this Video!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
My pleasure!
@artbart9080
@artbart9080 6 ай бұрын
Very informative!Thanks you!
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
You're welcome
@tvvuday
@tvvuday 3 ай бұрын
For reducing image size, we can go with Docker multistage build.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 3 ай бұрын
Correct ✅
@SamsonAruna-pp2se
@SamsonAruna-pp2se 6 ай бұрын
Clearly explained.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thanks
@KsChina
@KsChina 4 ай бұрын
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 4 ай бұрын
Awesome, we use things, we break it and then we fix it, That's how we learn 👍💪
@jensenjose682
@jensenjose682 6 ай бұрын
We can use multi-stage Dockerfile to reduce the size of the docker image.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
That's absolutely correct
@IrshadAli-xv5ip
@IrshadAli-xv5ip 5 ай бұрын
thank you sir ❤❤
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
Most welcome
@debillion
@debillion 6 ай бұрын
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 6 ай бұрын
Dockerignore is one way of excluding the irrelevant files, and docker multi-stage build helps a lot to reduce the image size.
@AndeSahith
@AndeSahith 6 ай бұрын
very informative, thanks.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thank you
@sudarsansai4215
@sudarsansai4215 6 ай бұрын
Informative
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thank you!
@MarketLake
@MarketLake Ай бұрын
Super
@kubedigitalhub
@kubedigitalhub 6 ай бұрын
Thank you
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
You're welcome!
@foehn23
@foehn23 6 ай бұрын
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 6 ай бұрын
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.
@sahiyadri2611
@sahiyadri2611 6 ай бұрын
Sir if possible please keep the working windows size bigger than other window, always need to zoom while learning.. Content is gr8
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Will do, thank you
@onkarcharkupalli6611
@onkarcharkupalli6611 6 ай бұрын
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 6 ай бұрын
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 6 ай бұрын
@@TechTutorialswithPiyush Helpful!
@roostgaming225
@roostgaming225 6 ай бұрын
Amazing 🔥
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Glad you like it! Thank you
@BHAGI5555
@BHAGI5555 6 ай бұрын
TIME STAMP 22:10 after getting build , how the docker desktop (images) showing local repo , didn't even yet logged in to docker right
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
No I was already logged in
@sagarbirla2879
@sagarbirla2879 6 ай бұрын
it provides me a lot of celerity in Docker
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Amazing! Thanks for letting me know.
@mohdshahzad5332
@mohdshahzad5332 6 ай бұрын
we can use docker-compose for reduce the size
@mohdshahzad5332
@mohdshahzad5332 6 ай бұрын
mast video majja aagaya reeally👍
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
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 6 ай бұрын
Thanks bro
@mohdshahzad5332
@mohdshahzad5332 6 ай бұрын
@@TechTutorialswithPiyushokay thanks for simply explanation
@sudheerdutt1879
@sudheerdutt1879 6 ай бұрын
nice sir
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thanks
@chandanravandurn7624
@chandanravandurn7624 23 күн бұрын
thanks
@christober.s7006
@christober.s7006 6 ай бұрын
I think for reducing the sizing of image we can use multi statge build which means using multiple FROM
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Spot on! Next video is about multistage builds.
@girishk1142
@girishk1142 5 ай бұрын
awesome :)))))
@vaibhavjain1in
@vaibhavjain1in Ай бұрын
Hi Piyush, I can't download docker hub on my laptop as it is work laptop, what are the other options? should I download on any Linux machine on ec2?
@TechTutorialswithPiyush
@TechTutorialswithPiyush Ай бұрын
I guess you meant Docker desktop, Yes you can try on ec2
@khznm2174
@khznm2174 5 ай бұрын
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 5 ай бұрын
That is present only on mac. You can use gitbash if you are on windows or install a Linux Virtual machine such as Ubuntu
@palashsarate280
@palashsarate280 2 ай бұрын
Should webpack be used to reduce the size of app ?
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
webpack is used specifically for JS and it bundles the asset together, wont help you with the image size, next video will have the answer to this question.
@JJ15982
@JJ15982 6 ай бұрын
Lets go Piyush I am excited!! first comment here
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Thank you so much 😊🙏
@adityapradhan2025
@adityapradhan2025 6 ай бұрын
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 6 ай бұрын
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 6 ай бұрын
@@TechTutorialswithPiyush yes sir! I got it. Thanks a ton! ❤️
@nousheensafoora206
@nousheensafoora206 3 ай бұрын
day-2 completed
@TechTutorialswithPiyush
@TechTutorialswithPiyush 3 ай бұрын
Great
@girdhar3224
@girdhar3224 6 ай бұрын
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 6 ай бұрын
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 :)
@JohnFranklin55
@JohnFranklin55 6 ай бұрын
in the section of the Dockerfile: COPY . . same as COPY . /app
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
That is correct
@pushppreetsingh7185
@pushppreetsingh7185 2 ай бұрын
Getting below error while building DockerImage ERROR: failed to solve: process "/bin/sh -c yarn install --production --ignore-engines" did not complete successfully: exit code: 1
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
I am sure sure what you have done, can you share the dockerfile and code repo in our discord server along with the steps you have performed including the commands?
@omkarmorbale5932
@omkarmorbale5932 5 ай бұрын
which terminal to use in case of Docker installed in windows?
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
You can use wsl on windows or try gitbash but I would recommend installing an Ubuntu virtual machine.
@omkarmorbale5932
@omkarmorbale5932 5 ай бұрын
@@TechTutorialswithPiyush I will try this
@Devopsandcloudhub
@Devopsandcloudhub 6 ай бұрын
​​sir I am using docker desktop there is a container dangling stage please explain it
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
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!
@amitmitra8907
@amitmitra8907 5 ай бұрын
Docker hub is not using in industry due to security issue , Pls puts some light where industry acceptance mechanism is being used .
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
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.
@mohanmurali7975
@mohanmurali7975 5 ай бұрын
Hi sir when to use bash and sh to exec into the container??
@TechTutorialswithPiyush
@TechTutorialswithPiyush 5 ай бұрын
It depends on the container image, most of the Linux based images have sh and some have bash, you can use according to that
@Nareshmanam458
@Nareshmanam458 6 ай бұрын
waitng for 2nd video
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
almost the time
@Travelwithakki007
@Travelwithakki007 4 ай бұрын
Hello can someone let me know were we need run this command ? are you running this command in Linux ?
@TechTutorialswithPiyush
@TechTutorialswithPiyush 4 ай бұрын
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
@khaleel_sheikh
@khaleel_sheikh 6 ай бұрын
I have one doubt, how can we connect to the windows terminal and execute docker related commands.
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Install gitbash
@bhushanofficial6153
@bhushanofficial6153 3 ай бұрын
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 3 ай бұрын
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
@moinkhanpathan6066
@moinkhanpathan6066 5 ай бұрын
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 5 ай бұрын
I'm using a Mac terminal but you can use a Linux machine or WSL on Windows. I'd recommend Linux
@vm_naveen
@vm_naveen 6 ай бұрын
We can write multi-stage Docker file and make use of runtime !
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
Absolutely correct!
@Gade455
@Gade455 2 ай бұрын
Am using docker desktop on my windows machines and $ this doesnt work. I created directories withoutusing it and now the touch command is not working with error:$touch Dockerfile | ~~~~~~~~~~
@TechTutorialswithPiyush
@TechTutorialswithPiyush 2 ай бұрын
touch is a linux command and wouldnt work on Windows. I'd suggest learning Linux first before directly jumping into Docker/Kubernetes. Get some hands on experience with Linux, and then you can either install Linux or WSL to practise it
@johnk8286
@johnk8286 6 ай бұрын
Day 2 .. are u using the CMD prompt ?
@TechTutorialswithPiyush
@TechTutorialswithPiyush 6 ай бұрын
I am using Mac terminal but if you are on windows, you can use gitbash
Kubernetes Secret tls using self signed cert
5:20
SheK8S
Рет қаралды 2,7 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Day 1/40 - Docker Tutorial For Beginners - Docker Fundamentals - CKA Full Course 2025
25:22
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 456 М.
Day 5/40 - What is Kubernetes - Kubernetes Architecture Explained
25:16
Tech Tutorials with Piyush
Рет қаралды 14 М.
Day 4/40 - Why Kubernetes Is Used - Kubernetes Simply Explained - CKA Full Course 2025
8:30
docker stack is my new favorite way to deploy to a VPS
27:47
Dreams of Code
Рет қаралды 139 М.
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
TechWorld with Nana
Рет қаралды 1,9 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН