Man, you are doing some great videos. I will use your videos to learn about DevOps. I advise you to use your skills and apply for jobs in the UK, there is a demand for DevOps engineers.
How did u got from root user to vs code ? When i tried its showing some super user error and recommending me to use (-user-data-dir) argument Pls help me
My game runs on two containers: one for game itself and another for redis, on my system I ran it using docker compose but how do I add it in elastic beanstalk?? please help
Hi Cloud Champ, Great video! I tried to follow your steps but I got this error: "docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: ".": executable file not found in $PATH: unknown." Could you help me here, please?
Great question! This line is a command starts the Nginx web server with the configuration file /etc/nginx/nginx.conf Here's a breakdown of the command: CMD is a Dockerfile instruction that sets the default command to run when a container starts. /usr/sbin/nginx is the path to the Nginx executable within the container. -c specifies the path to the configuration file. /etc/nginx/nginx.conf is the path to the Nginx configuration file within the container. So when you run a container based on this Docker image, it will start the Nginx web server with the specified configuration file. I hope this answers your question, I am sorry I didn't explained it in the video.
In this Dockerfile we are actually downloading the GitHub code and not actually cloning it so it downloads in zip folder and then for us to get the files and store in correct directory we have to unzip it 👍🏻
It was truly wonderful but I got stuck during building image, geeting this error -> failed to solve: process "/bin/sh -c apt-get install -y nginx zip curl" did not complete successfully: exit code: 100
If the container was successful created and it was also running but the typing the localhost on the browser didnt display any page, what could be the cause?
@@cloudchamp really? I used the -p 80:80. I was able to view the original nginx page but when i change the content of the index.html, it doesn’t display anything. The page is just blank. However, when I placed my cursor on the top of the browser page, I was able to see the page title as written in the index.html but the content of the page didn’t display
@@cloudchamp I now understood why the page didnt display. Any clue or idea about this message? This HTML file is a template. If you open it directly in the browser, you will see an empty page. You can add webfonts, meta tags, or analytics to this file. The build step will place the bundled scripts into the tag. To begin the development, run `npm start` or `yarn start`. To create a production bundle, use `npm run build` or `yarn build`.
there is one doubt whenever i am writing localhost:80 on brwoser i am not able to see the webpage why ... it only showing congratulation you ran your first container
i had same issue. youll have to figure out the application process thats running. mine was apache. i had to stop it from running before i could use my local host.
instead of running the docker in yr local machine and using elastic beanstalk...can we directly use instance to create docker file and image and directly get the result without using elastic beans???
Yes 👍🏻 Elastic beanstalk is used here which lets you create the application without you launching server, but under the hood it launches server, create security group and load balancer. So you can create the server and deploy without using elastic beanstalk 👍🏻
i got error. help me to fix it PS E:\devops\projects\2048> docker build -t 2048-game . docker : The term 'docker' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + docker build -t 2048-game . + ~~~~~~ + CategoryInfo : ObjectNotFound: (docker:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
bro good one bro when i tried at that time docker images created fine everything went well but for me it is running in public ip not in a localhost can you say why?
Hi Champ..How R U.. Tried creating this project.. I was not able to launch on port 80 even though the container was in running state. pin to pin i was given the same and also trouble shooted if i can try other way but not able to.. could U pls help me here.. ThnQ.
Watch the video completely, I have shown how to upload Dockerfile in elastic beanstalk to know more about elastic beanstalk you can check another video I posted with hands on and more about elastic beanstalk 👍🏻 Feel free to comment if you face any issues, I’ll help 🙂
I got this error in the terminal ERROR: error during connect: this error may indicate that the docker daemon is not running: Get "%2F%2F.%2Fpipe%2Fdocker_engine/_ping": open //./pipe/docker_engine: The system cannot find the file specified. can you please explain me how to solve this issue
This is a great video however I am getting error at 9 | >>> RUN unzip master.zip 10 | RUN mv 2048.master/* . && rm -rf 2048-master master.zip 11 | -------------------- ERROR: failed to solve: process "/bin/sh -c unzip master.zip" did not complete successfully: exit code: 9. If anybody know how to solve this error. Could you please help me with this.?
Brother I am Getting this type of error while running the dockerfile ERROR [8/8] RUN cd /var/www/html && unzip master.zip && mv 2048-master/* . && rm -rf 2048-master master.zip [8/8] RUN cd /var/www/html && unzip master.zip && mv 2048-master/* . && rm -rf 2048-master master.zip: #12 0.614 Archive: master.zip #12 0.614 End-of-central-directory signature not found. Either this file is not #12 0.614 a zipfile, or it constitutes one disk of a multi-part archive. In the #12 0.614 latter case the central directory and zipfile comment will be found on #12 0.614 the last disk(s) of this archive.
when i am using docker build -t 2048-game . cmnd error is coming its not getting created red lines error are coming..plz help me out brother to resolve...
DevOps Project on Kubernetes: ruclips.net/video/kBWCsHEcWnc/видео.html
now this video its not upto date.its bit complicated now. to get it work we have to create & assign the IAM roles to it
we needed more small small project like this. So we can understand the concepts easily. Thank you.
Sure more coming soon
Very good project and best explanation on docker and deployment on AWS!! Definitely worth trying!!
Thanks a lot!
Very useful
you could have used the nginx image directly to save time and space it's lighter and more efficient
what a thoughtful thumbnail you created for this video, superb.
Thanks man! ❤️
Amazing devops project to learn docker commands and deploying on AWS cloud 👍
So glad to hear that this project helps you 😀
You are awesome Codechamp.
We want more simple projects like this
Thanks 😊
Happy to help
Simple projects will take you nowhere
@@manifestabundance-pu6exBut you still need to start from somwhere…
Great start to my first project
Congratulations!
Get ready to learn more, just finished recording another amazing project 🤩
Thank you doc now i can make and deploy any game on docker
That’s amazing!
Bro, this is actually insane. Thank you so much :)
You are welcome 🤗
Happy to help
Thank you for this devops project using docker and aws 😀
You are welcome!
Thank you sharing this devops project tutorial ❤️
Glad you like it!
Amazing tutorial.
Amazing Devops project 👍🏻
We agree!
you are awesome ,, from Bangladesh
Thanks 😊
Very good devops project for practicing docker 👍
Yes, thanks
Man, you are doing some great videos. I will use your videos to learn about DevOps. I advise you to use your skills and apply for jobs in the UK, there is a demand for DevOps engineers.
Thanks for the tips!
Bhai, I am getting an error while building image. E: unable to locate package nginx. What can I do??
Great devops practice project video champ 👍
Your welcome 🙏
Excellent video great project to practice devops for beginners 👍
Glad you think so!
such a wonderful video || give some more related to this
Sure thanks 😊
Nice video ... Good Explanation.. Thanks Bro
Happy to know that.
Thank you Srinivas 😀
Hi thanks for video. One thing why you used curl zip and not just cloning repo.
Good devops project 👌
Where did you get the link? at 5:22
Very nice tutorial
Thanks very much
amazing video indeed
You are welcome bhai 🤝
Bro how tf are you using VS code in light mode. Love the video anyway. You got a like from me. Thank you!
That was really good,
I'm learning it slowly,
Quick question how can I take the project and publish it so other reqcruiters / dev can see it?
Check out the GitHub video to learn how to push and show them to other dev
Great project
Thanks man , Happy to help
Why I'm not able to run it on the AWS EC2 instance , the container aren't running after using the command "docker run -d -p 80:80
Facing the same issue
Did you get the output?
hi can you share link of Docker instructions page in linked in Thanks
Ice tutorial...can you repeat this using docker, kubernetes, terraform and aws
container up in running but did not got the output as yours. no output
bout a minute 0.0.0.0:80->80/tcp, :::80->80/tcp
Please make some other videos for docker projects and suggest some projects.
Sure very soon.
But did you checked the 4 other docker and kubernetes projects that I have on the channel
@@cloudchamp please provide the link I can not find it
Thanks in advance
great small hands onn...
great project but it would be great if you could make a video the dockerizing the app and deploying via ECS using terraform
Yeah that sounds good!
Hi @Cloud Champ can show how to do it in windows using ec2 terminal .
It should be easy, install Docker, create docker image from the file and run the container.
Thank you for this useful video. Can you tell me, how to copy that curl zip url?
Just add that instruction in your Dockerfile and then create image > run container
For its showing error.... cannot unzip the downloaded zip file
Good project 👍🏻
Glad you like it Sunita 😀
hey hi...
i got the domain name but i am not able to access it publically, how do i achieve this?
Same with me... If u get resolution please update
Thanks
You are welcome 🤗
How did u got from root user to vs code ? When i tried its showing some super user error and recommending me to use (-user-data-dir) argument
Pls help me
excellent
Thank you! Cheers!
My game runs on two containers: one for game itself and another for redis, on my system I ran it using docker compose but how do I add it in elastic beanstalk?? please help
👏👏👏👏
Immediately after running, my container shuts down abruptly can someone guise me please I almost spent a day fixing it but no result @Cloud Champ
Nice Project Bro. Previously I haven't used Amazon Elastic Beanstalk but now I can work on it !!,
Very Good Project👍👍
Great 👍 Glad you learned something
error: failed to solve : process "/bin/sh -c apt-get install -y ngnix did not complete successfully:exit code:100 How to solve this error ?
Just for curiosity purpose that game page is not secure so how to make it secure like HTTPS instead of HTTP?
By adding ssl certificate
Hi Cloud Champ, Great video!
I tried to follow your steps but I got this error:
"docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: ".": executable file not found in $PATH: unknown."
Could you help me here, please?
same
Docker need to be installed in ur laptop first
AWSOME
Thanks
Hi bro , the project is absolutely great . But i have a doubt , can u pls explain line 12 in Dockerfile
Great question!
This line is a command starts the Nginx web server with the configuration file /etc/nginx/nginx.conf
Here's a breakdown of the command:
CMD is a Dockerfile instruction that sets the default command to run when a container starts.
/usr/sbin/nginx is the path to the Nginx executable within the container.
-c specifies the path to the configuration file.
/etc/nginx/nginx.conf is the path to the Nginx configuration file within the container.
So when you run a container based on this Docker image, it will start the Nginx web server with the specified configuration file.
I hope this answers your question, I am sorry I didn't explained it in the video.
Do i have to create a role for this
what should I write in FROM ubuntu for windows vscode?
Dockerfile will be the same for all OS
container is running but no output on localhost, also no logs for the container is displayed.
Check the port
@@cloudchamp hii champ, checked the port. But still the application is not running on localhost
Same here
Same here
Hey guy’s still facing the problem??
If yes let’s solve it on a call
It's nice. But u haven't told IAM Roles in Elastic Bean Stalk
Why do you need that
Due to IAM role only, i got error, so iam asking
About the docker file...why u zipped and un zipped the file can u explain 6 and 7 the staep in docker file.....
In this Dockerfile we are actually downloading the GitHub code and not actually cloning it so it downloads in zip folder and then for us to get the files and store in correct directory we have to unzip it 👍🏻
Why I m not getting anything on port 80?
It was truly wonderful but I got stuck during building image, geeting this error -> failed to solve: process "/bin/sh -c apt-get install -y nginx zip curl" did not complete successfully: exit code: 100
If the container was successful created and it was also running but the typing the localhost on the browser didnt display any page, what could be the cause?
Port mapping or connectivity issue
@@cloudchamp really? I used the -p 80:80. I was able to view the original nginx page but when i change the content of the index.html, it doesn’t display anything. The page is just blank. However, when I placed my cursor on the top of the browser page, I was able to see the page title as written in the index.html but the content of the page didn’t display
@@cloudchamp I now understood why the page didnt display.
Any clue or idea about this message?
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
Yes app uses templates folder to include html and css @@debillion
@@cloudchamp and what does it mean?
there is one doubt whenever i am writing localhost:80 on brwoser i am not able to see the webpage why ... it only showing congratulation you ran your first container
i had same issue. youll have to figure out the application process thats running. mine was apache. i had to stop it from running before i could use my local host.
From where did he get the link at 5:22??
can u please explain Dockerfile in details...
Dockerfile creation Tutorial - Dockerfile Instructions Explained with example!
ruclips.net/video/1ymi24PeF3M/видео.html
instead of running the docker in yr local machine and using elastic beanstalk...can we directly use instance to create docker file and image and directly get the result without using elastic beans???
Yes 👍🏻
Elastic beanstalk is used here which lets you create the application without you launching server, but under the hood it launches server, create security group and load balancer.
So you can create the server and deploy without using elastic beanstalk 👍🏻
Thank u....can u explain about the docker file...y u did zip and un zip the repository I got totally confused with the the last comment.....
how did he open vscode from container ?
There is a lot of devops jobs is it true,if it is true still it will continue future also
🙌🙌🙌
thank you cloud champ ,really a very good project .....
You are welcome 🤗
Be ready for the next one 👍🏻
i am excited to hear this
bro how can we use this project on putty is it possible
brother can we automate using ci/cd gitlab and to deploy on aws
Yes, it should be easy if you follow the gitlab cicd video and ebs documentation 👍🏻
@@cloudchamp brother I did that and it’s working fine I will post on linked in and I’ll tag you :)
i got error. help me to fix it
PS E:\devops\projects\2048> docker build -t 2048-game .
docker : The term 'docker' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ docker build -t 2048-game .
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (docker:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Install docker first and execute
@@538sureshs7 docker extension should be added to vs code right. i did but still getting the same error.
@@538sureshs7 after installing docker also i am getting the same error
i got this error:
failed to solve: process "/bin/sh -c echo \"daemon off;\" >> /etc/nginx/nginx.conf" did not complete successfully: exit code: 2
bro good one bro when i tried at that time docker images created fine everything went well but for me it is running in public ip not in a localhost can you say why?
you can change your security group
Will I be billed when I use the aws service here??
Depends on which service you are using, check out the free tier page to know all the free services.
Can anyone pls explain this ,can we run the code in vs code itself , can't able to get the output , showing error in github url
Make sure url is correct by accessing it
I got error in Dockerfile whatever you have shown 2048 project it's not deployed
What error did you got? Send me the error message here
@@cloudchamp i will send you tomorrow
@@cloudchamp ubuntu@ip-172-31-27-243:~$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6de16dfe79b1 2048-img:latest "/usr/sbin/nginx -c …" 42 minutes ago Exited (0) 42 minutes ago great_poincare
832b9aa710b9 2048-img:latest "/usr/sbin/nginx -c …" 43 minutes ago Exited (0) 43 minutes ago youthful_galileo
ubuntu@ip-172-31-27-243:~$ sudo docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
2048-img latest e3ed42342f89 47 minutes ago 183MB
ubuntu 22.04 08d22c0ceb15 3 weeks ago 77.8MB
ubuntu@ip-172-31-27-243:~$
@@cloudchamp It's not showing in running state showing like exited state
@@allujayadeep1949 hey did you ever figure out your issue ?
can you create a video to guide us, how to get free credits in aws
Hi Champ..How R U.. Tried creating this project.. I was not able to launch on port 80 even though the container was in running state. pin to pin i was given the same and also trouble shooted if i can try other way but not able to.. could U pls help me here.. ThnQ.
Did you ran the port forwarding command?
If you still have issues please ping me on LinkedIn and I will help you
@@cloudchamp sure will try..
Nasi Done vth the error rectification.. I have few firewall settings to be done and i could host atlast... Thanks for the cute project..
kya is project ko aws ec2 me bana sakte hai
Bilkul bana sakte h
Hello bruh while running the docker command I got error end of central directory signature not found for line 8 how to resolve it?
Recheck and confirm your Dockerfile is correct and exact as in the video 👍🏻
@@cloudchamp yes bruh it is same, I created docker file by following ur video
@@dhanalakshmigudivada Send me the file here in the comment
or just line 8
hi, i tried to build this image but fail having followed your steps.
What error does it show
use sudo before the commands
this is not devops , when a change is made in repo we want to see continous integration and delivery
Then use this as a jumping off point and create your own pipeline for it
Yeah if code got changes means how we can deploy ?
will AWS charge me for this project ?
No if you stay in free tier limits
All i know but how to upload a docker file on elastic beam stack
Watch the video completely, I have shown how to upload Dockerfile in elastic beanstalk to know more about elastic beanstalk you can check another video I posted with hands on and more about elastic beanstalk 👍🏻
Feel free to comment if you face any issues, I’ll help 🙂
From where did you get the github link missed that part or trimmed it 😂😂
I did mentioned it
Bro sab kuch run hone ke baad bhi local port pe nhi show ho raha hai
Port change karke try karo , maybe port 80 already used ho 👍🏻
Phir bhi issue aaya toh batana
@@cloudchamp Phir be issue face kar raha hu
bro send me Dockerfile
You did not create this 🎮 Game
You deployed this Gaming App
Use appropriate titles...
DevOps engineers deploy the Apps, they dont develop the Apps
ERROR: failed to solve: process "/bin/sh -c cd /var/www/html/ && unzip master.zip && mv 2048-master/* . && rm -rf 2048-master.zip" did not complete
How do you mean that we delete it? That is going to crash the app then, right? So when someone looks our project it won’t work? 😢
I got this error in the terminal
ERROR: error during connect: this error may indicate that the docker daemon is not running: Get "%2F%2F.%2Fpipe%2Fdocker_engine/_ping": open //./pipe/docker_engine: The system cannot find the file specified.
can you please explain me how to solve this issue
are u run docuker hub?
This is a great video however I am getting error at
9 | >>> RUN unzip master.zip
10 | RUN mv 2048.master/* . && rm -rf 2048-master master.zip
11 |
--------------------
ERROR: failed to solve: process "/bin/sh -c unzip master.zip" did not complete successfully: exit code: 9.
If anybody know how to solve this error. Could you please help me with this.?
Bro, I need your help with one of my DevOps project, please tell me how to contact you!!
LinkedIn
Brother I am Getting this type of error while running the dockerfile
ERROR [8/8] RUN cd /var/www/html && unzip master.zip && mv 2048-master/* . && rm -rf 2048-master master.zip
[8/8] RUN cd /var/www/html && unzip master.zip && mv 2048-master/* . && rm -rf 2048-master master.zip:
#12 0.614 Archive: master.zip
#12 0.614 End-of-central-directory signature not found. Either this file is not
#12 0.614 a zipfile, or it constitutes one disk of a multi-part archive. In the
#12 0.614 latter case the central directory and zipfile comment will be found on
#12 0.614 the last disk(s) of this archive.
can you paste your entire Dockerfile here?
@@cloudchamp Sure
I am not able to paste file here can you share your mail id?
hey i am getting the same error..will you tell me that have you resolved it?
even m getting same error do you resolve the issue. if its resolves the issue can u explain it plz
when i am using docker build -t 2048-game . cmnd error is coming its not getting created red lines error are coming..plz help me out brother to resolve...