This tutorial is hands down the best I've ever come across. everything is well detailed and straight to the point. Note: to anyone following up on a Windows machine, I had a problem using -e CHOKIDAR_USEPOLLING=true, it was updating the code inside the container but the changes were not displaying on the browser, use -e WATCHPACK_POLLING=true instead. Thank you Sanjeev
You're a great teacher. I'm pretty new to Docker and have watched other tutorials on YT and even read books on Docker over at Safari Online, but you're tutorial is the first one where you explain docker via a common, real-world example ("the rubber meets the road"). Good stuff. You've got a subscriber.
wow 5 minutes in, I have to stop and say this is just absolutely mind blowing how well you are teaching please never stop with content like this. what a gem of a channel
It happend to me right now! I just pause the video to say "Omg this is soo good" even though im not a native english speaker but I'm able to understand everything! thanks!!
2 days of headaches trying to get "Live Reload" to work and I finally found you who got it to work. So many people made it so complicated. I knew there had to be an easy way to correctly Mount/Sync files. Thank you Sanjeev. You've definitely earned a sub from me!
I really appreciate the amount of detail you go into. So many online tutorials are borderline useless because they just go through the motions without truly explaining anything. Thanks, keep it up!
Just wanted to pop in and say this is an amazing tutorial on setting up docker. I am a full stack dev but have not had much experience with Docker and wanted to learn what it is all about. With your video I was able to incorporate docker around my current project and deploy without any issues! Thanks again!
This is probably the first tech video ever where I have been voluntarily compelled to click the like button even without having completed the whole video. I have ended up subscribing your channel just so that it might help you. Cant praise you enough how you have covered all the essential bits about docker and paced the video to near perfection. Thanks Sanjeev.
I am still on minute 25 but I decided to pause it to congratulate you for the amazing content and teaching. Perfect video for starters. I hope that everybody would teach hands on like you! Congrats for the excelent content!
Thank you very much Sanjeev... I was looking only the multi-stage stuff but I watched all the video just to understand better how docker works! Excellent tutorial!
This is the best tutorial I have ever come across. Not just for Docker but in general. The process from start to end is very clearly presented and thus makes it easy to follow. The amount of effort that's gone in making this video is insane. Thank you so much Sanjeev!
Only about 10 minutes in but I gotta say: how do you only have 14k subs? You're an incredible teacher and the video is extremely high quality! Glad I clicked on your video, friend.
For anyone wondering the difference between docker-compose and docker compose, basically the hyphened version is v1 and the other is v2. V1 is no longer being developed so always use v2. Side note, v1 was written in python and v2 is written in Golang.
As all the other commenters have said, you have a serious knack for explaining things. You know the exact amount of necessary detail while keeping it in related terms. SO REFRESHING. Subscribed.
This video deserves more views, you're awesome! I work with both frontend and backend, but I lacked the knowledge of Docker, and this video saved me. Wish you success! 😀
I could press 100times on the like button if it is possible ,really appreciate your work, looking forward to more video on docker topic, thank you Sanjeev!
I've been trying to figure out docker the last two days. And your tutorial is the best I've found. Everything is clear and just works! Keep up the great work my friend
Sanjeev, this content and the way you delivery it is mind blowing. Please continue this trend, ask for new contents in Pools. Do it and we will support it.
In the description: docker run -it -d --name react-app -p 3000:3000 react-image instead of docker run -it d --name react-app -p 3000:3000 react-image thanks for sharing
Why is it that at 9:18 we run npm install with "RUN" (RUN npm install) but down below when we actually run our server we run npm start with "CMD" (CMD ["npm", "start"]).. both utilize npm commands, it would be great if you could clarify this as this is confusing for a beginner
Fantastic video, thank you! Compared to most tutorials that just show how to do something specific, this shows step by step where to start, why things don't work and how to make them work! Would love to see a video on a workflow including VSCode devcontainers and git as well :)
The only thing that is a bit confusing: After you created the bind mount, you still had "COPY . ." in the dockerfile. So does the bind mount overrule the copy?
The copy happens at build time(when we're creating the image). The bind mount syncs the folders at runtime(after we create/run the container). The dockerfile is only there for creating the image, but to keep syncing the files after we create a container from the image, we need the bind mount.
@@SanjeevThiyagarajan Could you explain why in this video you didn´t use an anonymous volume for node_modules? I remember you using it on nodejs/express for the freeCodeCamp video. Moreover, I´m curious to know why you didn´t need nodemon to achieve hot reload here. Thanks! :)
Thanks for the awesome video. Can you please address anything regarding the issue that code is synced but still UI is not updating I am using windows 11.
1:21:52 “I don’t recommend doing react within docker, I just don’t see the true benefit of it” - Then how do you recommend deploying React apps and handling multiple stages if not in line with this 1.5 hour tutorial?
This tutorial is hands down the best I've ever come across. everything is well detailed and straight to the point.
Note: to anyone following up on a Windows machine, I had a problem using -e CHOKIDAR_USEPOLLING=true, it was updating the code inside the container but the changes were not displaying on the browser, use -e WATCHPACK_POLLING=true instead.
Thank you Sanjeev
Thanks man!
up!
Hey Man This is awesome update. Please ask Sanjeev to put this comment at top.
You save me hours. Thank u man!
Why on earth is this Channel so under rated!
I wish you all the Success bro!
Hi Piyush! Are you a student or working currently? Would you be interested in opportunities in web development?
@@shivanigaddagimath6105 I'd be lol
This is one of the most comprehensible and straightforward Docker tutorial on TH-cam. Great channel and great content always.
I took the comment section to say the axact same thing. Magnificently clear. Thumbs up Sanjeev
For recent React, you need to set "WATCHPACK_POLLING=true" instead to get auto update working instead of "CHOKIDAR_USEPOLLING=true"
thanks for sharing i am stuck at that and i am searching for it
Thanks! I was having problem with this.
Bruh you make my day thanks!
You're breathtaking!!!
Yup! This one helped with the issue
You're a great teacher. I'm pretty new to Docker and have watched other tutorials on YT and even read books on Docker over at Safari Online, but you're tutorial is the first one where you explain docker via a common, real-world example ("the rubber meets the road"). Good stuff. You've got a subscriber.
wow 5 minutes in, I have to stop and say this is just absolutely mind blowing how well you are teaching please never stop with content like this. what a gem of a channel
Agree 100%. This is the best one hour docker tutorial/course that I've seen so far
It happend to me right now! I just pause the video to say "Omg this is soo good" even though im not a native english speaker but I'm able to understand everything! thanks!!
2 days of headaches trying to get "Live Reload" to work and I finally found you who got it to work. So many people made it so complicated. I knew there had to be an easy way to correctly Mount/Sync files. Thank you Sanjeev. You've definitely earned a sub from me!
The most comprehensible and straightforward Docker tutorial on TH-cam
I really appreciate the amount of detail you go into. So many online tutorials are borderline useless because they just go through the motions without truly explaining anything. Thanks, keep it up!
Best crash course on react + docker so far
Just wanted to pop in and say this is an amazing tutorial on setting up docker. I am a full stack dev but have not had much experience with Docker and wanted to learn what it is all about. With your video I was able to incorporate docker around my current project and deploy without any issues! Thanks again!
One of the best presentations of use of Docker environment in the real world application. Thank you very much for the detailed walk through.
i have tried many videos for react docker but this one THE Best .
Tq Sanjeev Thiyagarajan
This is probably the first tech video ever where I have been voluntarily compelled to click the like button even without having completed the whole video. I have ended up subscribing your channel just so that it might help you. Cant praise you enough how you have covered all the essential bits about docker and paced the video to near perfection. Thanks Sanjeev.
The best, worth watching Docker tutorial out there. Thanks
I am still on minute 25 but I decided to pause it to congratulate you for the amazing content and teaching. Perfect video for starters. I hope that everybody would teach hands on like you! Congrats for the excelent content!
"thoroughly unqualified to teach anything"
so that was the biggest lie ever
BEST TEACHER EVER THANK YOU SO MUCH YOU ARE HELPING PEOPLE SO MUCH ❤
Watching this video was worth so much more than googling for hours... Thank you so much for the excellent tutorial 😊😊
you mostly cover deployment parts. There are few resources on that your videos help me a lot. Thank you sir
Hi DEVA! Are you a student or working currently? Would you be interested to explore opportunities in web development?
Amazing Docker 101. I'm half way through and can't stop watching. Good work, keep it up!
Great video and great job teaching. I personally like to see real-life errors and not some perfectly scripted tutorial. Thank you!
This is by FAR the best docker tutorial I've seen so far, super underrated video, thank you so much bro
Thank you very much Sanjeev... I was looking only the multi-stage stuff but I watched all the video just to understand better how docker works! Excellent tutorial!
By far the best tutorial on React Dev + Prod I’ve encountered so far!!
This is the best tutorial I have ever come across. Not just for Docker but in general. The process from start to end is very clearly presented and thus makes it easy to follow. The amount of effort that's gone in making this video is insane. Thank you so much Sanjeev!
This gentleman should start a udemy training on react and docker. This is awesome.
This is one of the best videos on the subject, production quality and your ability to teach on a subject is so good.
I really like how you explained the package.json optimization, nice work!
Only about 10 minutes in but I gotta say: how do you only have 14k subs? You're an incredible teacher and the video is extremely high quality! Glad I clicked on your video, friend.
Beautifully explained everything from scratch
For anyone wondering the difference between docker-compose and docker compose, basically the hyphened version is v1 and the other is v2. V1 is no longer being developed so always use v2.
Side note, v1 was written in python and v2 is written in Golang.
Sanjeev, thanks for doing it. It's a massive content. Very assertive, easy to understand. Nailed. Wish you all the success
This is totally Awesome beginner to advanced level within one and half and hour..Totally nailed it ...super cool..Thanks a lot for this great content
The best Docker tutorial I have seen so far. Wow 💯💯💯
didn't know about the :ro tag for volumes. great video!
As all the other commenters have said, you have a serious knack for explaining things. You know the exact amount of necessary detail while keeping it in related terms. SO REFRESHING. Subscribed.
Sincerely thank you Sanjeev🙏🙏 . Very detailed explanation on Docker. Verry helpful.
This video deserves more views, you're awesome! I work with both frontend and backend, but I lacked the knowledge of Docker, and this video saved me. Wish you success! 😀
YOU ARE THE BEST! ONE OF MY FAVOURITE LESSON AND IN DEPTH! GOD BLESS YOU HERO! YOU DID A GREAT JOB!
Why on earth excellent videos like these get low views or not even getting recommended at all? Mind blowing man 🔥
Wow! One of the best Docker + React guides I've ever seen! Thank you!
Excellent tutorial, concise and yet thorough
The best tutorial for anyone to get started on Docker. More power to you Sanjeev.
I could press 100times on the like button if it is possible ,really appreciate your work, looking forward to more video on docker topic, thank you Sanjeev!
I've been trying to figure out docker the last two days. And your tutorial is the best I've found. Everything is clear and just works! Keep up the great work my friend
This is what I was looking for. Thank you very much, Sanjeev.
Absolutely by far the best explanation docker video with practiced ins and outs of docker on TH-cam thank you so much.
hey Sanjeev, thank you very much for this tutorial I learned a lot and you explained it very clear.. cheer with that
Excellent: a minor note: CHOKIDAR_POLLING will not work in the latest react-scripts versions. We need to use WATCHPACK_POLLING=true
the best explaining of containerizing react app! Thank you!
Sanjeev, this content and the way you delivery it is mind blowing. Please continue this trend, ask for new contents in Pools. Do it and we will support it.
Incredibly helpful and straightforward tutorial. Thank you!!
Thanks Sanjeev, I have learned a ton from this tutorial. And everything really makes sense.
Wonderful Video! I can't believe I got all about docker in 1 hour! hope you make more videos even nicer than this. THanks,,,,
This has to be the best video on Docker. Thanks!
Great Tutorial, many thanks.
CHOKIDAR (in Hindi) means Gatekeeper
this is just what I'm looking for. Good work Sanjeev!
Thank you so much for work Sanjeev, your explanation is pretty easy to follow. Keep up the good work!
Awesome explanation, Sanjeev! I will recommend this video to my mates
This channel is going to blow up soon 🎉 keep going bro🔥
Hi Vinu! Are you a student or working currently? Would you be interested in opportunities in web development?
In the description:
docker run -it -d --name react-app -p 3000:3000 react-image
instead of
docker run -it d --name react-app -p 3000:3000 react-image
thanks for sharing
WOW 😳😳😳 no words to describe man... thanks!
Why is it that at 9:18 we run npm install with "RUN" (RUN npm install) but down below when we actually run our server we run npm start with "CMD" (CMD ["npm", "start"]).. both utilize npm commands, it would be great if you could clarify this as this is confusing for a beginner
Thanks, Sanjeev! I got answers, exactly i was looking for.
best docker tutorial ever
Looking forward for your new superb tuts, this time : on cloud computing, Kubernetes and CD.
thank you, hopefully god always bless your life because the knowledge you share
Sir you are just awesome, exactly what i was looking for
wow! what a channel where have you been all my life, good job subscribed immediately
This is a brilliant tutorial I ever seen, Thank u very much.
You are the champion. This is exactly what I am looking for.
This is the best tutorial EVERRRRR!
This is such a great video. Awesome Job!
Hi Srijal! Are you a student or working currently? Are you open to web development opportunities ? We are hiring! Please let me know.
One of the best tutorial on this topic
Thank you so much Sanjeev. Very helpful content.
This is a really great docker tutorial... Thank you.
Thank you so much! Your video will help me tomorrow at my final interview)
Please do one video on deploying MERN/PERN stack application using Docker. Please and thank you 😊 and thanks for this one.
Hi Hemanth! Are you a student or working currently? Are you open to web development opportunities ? We are hiring! Please let me know.
This is a really great video. I am pretty new to docker and this broke it down really nicely
Excellent. Thank you Sanjeev
Fantastic video, thank you! Compared to most tutorials that just show how to do something specific, this shows step by step where to start, why things don't work and how to make them work! Would love to see a video on a workflow including VSCode devcontainers and git as well :)
The only thing that is a bit confusing: After you created the bind mount, you still had "COPY . ." in the dockerfile. So does the bind mount overrule the copy?
The copy happens at build time(when we're creating the image). The bind mount syncs the folders at runtime(after we create/run the container). The dockerfile is only there for creating the image, but to keep syncing the files after we create a container from the image, we need the bind mount.
@@SanjeevThiyagarajan Could you explain why in this video you didn´t use an anonymous volume for node_modules? I remember you using it on nodejs/express for the freeCodeCamp video. Moreover, I´m curious to know why you didn´t need nodemon to achieve hot reload here. Thanks! :)
best tutorial i ever seen about docker. very neat
Excellent and very thorough. Thanks!
True Gem of a channel, Thank you!
Thank you sir. I have learned a lot from this video
I just found your video . 100% bro , keep up the good work!!
Thank you for your video. I have understand the docker. REally appricate your work
Thanks for these videos man, only tutorials on youtube that make sense
Thanks for the awesome video. Can you please address anything regarding the issue that code is synced but still UI is not updating I am using windows 11.
Great content boss!! If possible can you please make a CICD aws deployment video too.
This Video is so amazing. Everything explained so clearly.
35:15 CHOKIDAR_USEPOLLING=true hot-reload didn't worked on me.When I click stop and run after that it updates the content
superb! excellent ! it covers lot of stuff in simple way
Excelente explicación! It was so clear and useful! Thanks a lot!
Great video Sanjeev!!!
First time I understand docker
Like always your videos are great, cant wait for the next one
This is outstanding!! very well explained.. :)
1:21:52 “I don’t recommend doing react within docker, I just don’t see the true benefit of it” - Then how do you recommend deploying React apps and handling multiple stages if not in line with this 1.5 hour tutorial?
excellent video I really learn many things.
Hi Sajid! Are you a student or working currently? Would you be interested in opportunities in web development?