للي يشوفو فيديو ما راح انصح بطريقة دي المسألة هي انو بكون عندك 2 branches واحد لكل مرة بتعمل اصدار (كل ربع سنة مثلا او كل ٦ شهور) Prod و ثاني بكون فيه كل شغل اي تو ديت main و منه حا تعمل برانشات إضافية عشان تحل اي مشكلة مثل أضاف خاصية ما ممكن كل مرة تعمل شي تطلع حاوية جديدة الأفضل من دة انو تعملها بستخدام Tags تقدر تسوي Push git tag و تخلي ال Pipeline (workflow) بتاعك كل مرة يشوف لو ال Commit فيها Tag معينة يستخدم اسمها كإسم حاوية جديدة وقتها تتحكم في بتين تطلع حاوية
للي يشوفو فيديو ما راح انصح بطريقة دي المسألة هي انو بكون عندك 2 branches واحد لكل مرة بتعمل اصدار (كل ربع سنة مثلا او كل ٦ شهور) Prod و ثاني بكون فيه كل شغل اي تو ديت main و منه حا تعمل برانشات إضافية عشان تحل اي مشكلة مثل أضاف خاصية ما ممكن كل مرة تعمل شي تطلع حاوية جديدة الأفضل من دة انو تعملها بستخدام Tags تقدر تسوي Push git tag و تخلي ال Pipeline (workflow) بتاعك كل مرة يشوف لو ال Commit فيها Tag معينة يستخدم اسمها كإسم حاوية جديدة وقتها تتحكم في بتين تطلع حاوية
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
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?
Why do you use nginx instead of docker run -p 80:8080? One other thought: You might want to prune old Docker images, since they won't be deleted automatically.
I'm using Docker to install Laravel and Nginx, and it only works when accessing 47.129.6.252/, but when accessing 47.129.6.252/api/courses, it returns a 'not found' error. You can help me please?
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
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.
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.
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
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.