For all those who are getting error of An image does not exist locally with the tag: ***/ - name: Building the Docker image run: docker build -t {your image name} . - name: Tagging image run: docker tag {your image name}:latest {your dockerhub username}/{your image name}:latest - name: Pushing to DockerHub run: docker push {your dockerhub username}/{your image name}:latest Add the last 3 commands like this
This video such a informative and easy to understand. next time when you make any video please speak little bit slowly. Have a great Future. God Bless you Shubham
Bhai awesome......I'm speechless after seeing this......I'm using docker images and containers to deploy (not gitHub) but after watching this.....I'm stunned thank you
Agreed that you know the stuff good. But a great video is the one which everyone can follow and understand including the beginners. Probably you deserve more subscribers. Explain the things slowly and bit more clearly (like in Net Nijnjas videos). why so much rush like in war zone?. Every viewer is not in same frequency like yours. Right?. good luck.
للي يشوفو فيديو ما راح انصح بطريقة دي المسألة هي انو بكون عندك 2 branches واحد لكل مرة بتعمل اصدار (كل ربع سنة مثلا او كل ٦ شهور) Prod و ثاني بكون فيه كل شغل اي تو ديت main و منه حا تعمل برانشات إضافية عشان تحل اي مشكلة مثل أضاف خاصية ما ممكن كل مرة تعمل شي تطلع حاوية جديدة الأفضل من دة انو تعملها بستخدام Tags تقدر تسوي Push git tag و تخلي ال Pipeline (workflow) بتاعك كل مرة يشوف لو ال Commit فيها Tag معينة يستخدم اسمها كإسم حاوية جديدة وقتها تتحكم في بتين تطلع حاوية
Nice Shubham good job ! but this nginx config is useless as docker container once exited will never have the previous IP. But then again good for local dev env
Thanks, yeah right IP will keep changing. Anyway this we cannot use in production also since its not a rolling update. There is some downtime between deleting old container and starting new container.
I tried to do a curl after the docker run using curl 0.0.0.0/8080 and I got this error curl: (52) Empty reply from server The port 8080 is opened in my security group. Do you perhaps know what I did wrong?
Really useful video. First of all thanks a lot for this informative video. I have written python docker container. The followed your video and did step by step approach. I can see the container image in my linux m/c, but when I gave dcoker ps command, nothing is displayed. I got stuck in this step. No info. about the port etc., Will you please help me where I am going wrong.
Nice video. But whenever u make quick change in your file or command. Specify it. People can miss such things and waste lots of time to fix these minor stuffs.
للي يشوفو فيديو ما راح انصح بطريقة دي المسألة هي انو بكون عندك 2 branches واحد لكل مرة بتعمل اصدار (كل ربع سنة مثلا او كل ٦ شهور) Prod و ثاني بكون فيه كل شغل اي تو ديت main و منه حا تعمل برانشات إضافية عشان تحل اي مشكلة مثل أضاف خاصية ما ممكن كل مرة تعمل شي تطلع حاوية جديدة الأفضل من دة انو تعملها بستخدام Tags تقدر تسوي Push git tag و تخلي ال Pipeline (workflow) بتاعك كل مرة يشوف لو ال Commit فيها Tag معينة يستخدم اسمها كإسم حاوية جديدة وقتها تتحكم في بتين تطلع حاوية
You can checkout the code here:
github.com/varsubham/cicd-pipeline
THANK YOU!! A lot of information in 12 minutes.
For all those who are getting error of An image does not exist locally with the tag: ***/
- name: Building the Docker image
run: docker build -t {your image name} .
- name: Tagging image
run: docker tag {your image name}:latest {your dockerhub username}/{your image name}:latest
- name: Pushing to DockerHub
run: docker push {your dockerhub username}/{your image name}:latest
Add the last 3 commands like this
All this information in just 12 minutes! this video was all I needed. it was a hidden gem. thank you very much.
Straight to the point. no time waste. 👍
This video needs to be watched at 0.25
That's what I thought. Too fast!
Great tutorial so informative and well explained in few minutes. Awesome.
This is exactly what I was looking for thank you Shubham.
This video such a informative and easy to understand. next time when you make any video please speak little bit slowly. Have a great Future. God Bless you Shubham
Bhai awesome......I'm speechless after seeing this......I'm using docker images and containers to deploy (not gitHub) but after watching this.....I'm stunned
thank you
Your voice such calmness!
Very helpful!!! Straight and concise. Thanks!
Thanks bro for this video
we need more video like this
Agreed that you know the stuff good. But a great video is the one which everyone can follow and understand including the beginners. Probably you deserve more subscribers. Explain the things slowly and bit more clearly (like in Net Nijnjas videos). why so much rush like in war zone?. Every viewer is not in same frequency like yours. Right?. good luck.
thank you, sure will keep this in mind
To the point video. Awesome.
Thanks a lot.
Hey, thanks a lot for this. I did struggle at some points but your video was helpful.
للي يشوفو فيديو ما راح انصح بطريقة دي
المسألة هي انو بكون عندك
2 branches
واحد لكل مرة بتعمل اصدار (كل ربع سنة مثلا او كل ٦ شهور)
Prod
و ثاني بكون فيه كل شغل اي تو ديت
main
و منه حا تعمل برانشات إضافية عشان تحل اي مشكلة مثل أضاف خاصية
ما ممكن كل مرة تعمل شي تطلع حاوية جديدة
الأفضل من دة انو تعملها بستخدام
Tags
تقدر تسوي
Push git tag
و تخلي ال
Pipeline (workflow)
بتاعك كل مرة يشوف لو ال
Commit
فيها
Tag
معينة يستخدم اسمها كإسم حاوية جديدة
وقتها تتحكم في بتين تطلع حاوية
love it. on to the point, no bulshit around.
Great great video, Thank you!
Amazing video!
Great tutorial. Very clear and straight forward. I fully understand now how this works. Will apply to my project soon. Thanks.
thank you you helped a lot
really u are senior even super senior tks my fr very much
great video!
Nice Shubham good job ! but this nginx config is useless as docker container once exited will never have the previous IP. But then again good for local dev env
Thanks, yeah right IP will keep changing. Anyway this we cannot use in production also since its not a rolling update. There is some downtime between deleting old container and starting new container.
Thank you for your clear explanation
good work man. it really helped me
Great tutorial, thanks man! 😎
Thank you 👍🏻. Helped a lot.
Thank you bro this video saved me!
It helps a lot, thank you!
I tried to do a curl after the docker run using curl 0.0.0.0/8080 and I got this error curl: (52) Empty reply from server
The port 8080 is opened in my security group. Do you perhaps know what I did wrong?
thank you, it helps me a lot 😄
I thought it's 12 min long, turns out it's 12 hours long
Really useful video. First of all thanks a lot for this informative video. I have written python docker container. The followed your video and did step by step approach. I can see the container image in my linux m/c, but when I gave dcoker ps command, nothing is displayed. I got stuck in this step. No info. about the port etc., Will you please help me where I am going wrong.
Do a docker run.
plz add your dummy nodejs code and other links from where you copy code and thanks bro for this video
Nice video. But whenever u make quick change in your file or command. Specify it. People can miss such things and waste lots of time to fix these minor stuffs.
Thanks, sure will keep this in mind
somoeone tell me a good video where i can understand how to make ci cd pipeline im not able to understand from these kind of vidoes
does the container ip changes whenever the new container builds ?
cant we also use self-hosted for the CI part?
yes we can
@@shubhamverma1407 i have been having issues. the ec2 machine keep going offline when running the CI
@@debillion make sure you are running it as a service, so even if you logout of the machine, github runner would still be running
how to maintain the runner up all the time ...
you can run it as a service
took me more than 2 hr to complete it
what was the fix image name commit that you did? Initially it was failed but you added something what was that change?
I just changed the docker image name, this is the new build cmd i used (forgot to add username earlier)
docker build -t varsubham/cicd-pipeline .
give one example clearly and slowly
love it
wah verma ji
Jesteś prze dym
you type very fast
Upload more videos sir🙏🙏
للي يشوفو فيديو ما راح انصح بطريقة دي
المسألة هي انو بكون عندك
2 branches
واحد لكل مرة بتعمل اصدار (كل ربع سنة مثلا او كل ٦ شهور)
Prod
و ثاني بكون فيه كل شغل اي تو ديت
main
و منه حا تعمل برانشات إضافية عشان تحل اي مشكلة مثل أضاف خاصية
ما ممكن كل مرة تعمل شي تطلع حاوية جديدة
الأفضل من دة انو تعملها بستخدام
Tags
تقدر تسوي
Push git tag
و تخلي ال
Pipeline (workflow)
بتاعك كل مرة يشوف لو ال
Commit
فيها
Tag
معينة يستخدم اسمها كإسم حاوية جديدة
وقتها تتحكم في بتين تطلع حاوية