Got a question on the topic? Please share it in the comment section below and our experts will answer it for you. For Edureka DevOps Training and Certification curriculum, Visit our Website: bit.ly/2O59dHy Use code "RUclips20" to get Flat 20% off on this training.
Thank you so much for the review ,we appreciate your efforts : ) We are glad that you have enjoyed your learning experience with us .Thank You for being a part of our Edureka team : ) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )
Hi : ) We really are glad to hear this ! Truly feels good that our team is delivering and making your learning easier :) Keep learning with us .Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )
Thank you for your review : ) We are glad that you found our videos /contents useful . We are also trying our best to further fulfill your requirements and enhance your expirence :) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )
Thanks for the heat-warming feedback Vinay :) You might be also interested in other Docker videos of ours. Please watch them here: ruclips.net/video/h0NCZbHjIpY/видео.html
Hi - This is a great video. I need help at a point - i am getting the following error when trying to spawn the container :: sudo docker run -p 80:80 --name=App5 myapacheimage apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot Can you please advise how to go about solving this ?
Thanks for the compliment Navyasri! We are glad you loved the video. Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Cheers!
I started learning devops recently from your videos. Guys I have a doubt here please solve. After testing Jenkins package everything including code and dependencies into a war/jar file. Even dockerfile contains application's source code and dependencies. Now if we are using the docker container to deploy onto production server. Now where do we use the war file that is generated from JEnkins? someone please clarify.
Hey Raagitha! The WAR file that is created by the Continuous Integration server is put in the docker container..to package it as a container. Then, the container is used in the testing or the production server.
Hey Yangesh, hope you liked the video. We only provide projects as part of the course,it's not real time necessarily. Edureka’s DevOps Certification training will set you on the path of becoming a successful DevOps Engineer. You can check out the complete course details over here: www.edureka.co/devops. Hope this helps!
Thank you so much for your review on our channel Great to hear that Edureka is helping you learn better . We’ll strive to make even better learning contents/courses in the future ! Do subscribe the channel for more updates : )
Really a good content and structured one. I'll personally request to continue this and take a step ahead and create a video on docker compose as well. So that we can extend our skills in understanding concept and use it to it's full extent. Thank you for your videos.
Hi Shashank, we are glad the video was useful. Here is a complete playlist on Docker, its has Docker compose video as well: ruclips.net/p/PL9ooVrP1hQOHUKuqGuiWLQoJ-LD25KxI5 Happy Learning, cheers!
Dockerfile usually starts from a base image. As defined in the Docker documentation, a base image or parent image is where your image is based. It's your starting point. It could be an Ubuntu OS, Redhat, MySQL, Redis, etc. Every application will need a base image. You can create it from scratch as well but that is something for more advanced users.
Hi Navyasri, By default, the configuration file is named nginx.conf and placed in the directory /usr/local/nginx/conf. Sometimes at other locations like /etc/nginx, or /usr/local/etc/nginx. Hope this helps. Cheers!
Hello, This was very informative tutorial. Although I havent fully understood USER command. I have a Dockerfile in which I have created a user 'ubuntu'. I have built docker image using this Dockerfile. The problem comes when I use this image in my OpenShift environment and run the container using this image, I get error: sudo: unknown uid 1000110000: who are you? I am using this Dockerfile (github.com/dhanugithub/omdockerimage). Can you please help me understand what I am doing wrong here? Being a fresher in Docker, I don't have deep knowledge of it as of now. Thank you.
Hey Dhanashree, This usually occurs when the current UID that you're using is not present in etc/passwd. Check the etc/passwd file for this uid. Follow these steps to check step 1- strace -f -F -o whoami whoami you'll get a file called whoami, parse it grep etc whoami 5029 open(/etc/passwd", O_RDONLY|O_CLOEXEC) = 3 There could be another cause, by any chance do you have apparmour installed? Maybe its blocking something, try uninstalling it. If this doesn't solve the problem, put this question up on the following link: www.edureka.co/community/ Hope this helps!
Hello, I managed to resolve the issue of uid. Now I have uid, gid of USER in dockerfile inside /etc/passwd of my container. I still have other issues but not regarding USER for now. Thank you for the guidance. I will write again if I have another doubt.
Got a question on the topic? Please share it in the comment section below and our experts will answer it for you. For Edureka DevOps Training and Certification curriculum, Visit our Website: bit.ly/2O59dHy Use code "RUclips20" to get Flat 20% off on this training.
Fantastic explanation 👏
Thank you 😊 Glad it was helpful!
really helpful!
Till date this is the best and simple explanation of docker and dockerfile I have watched.
Thank you
Very nice presentation, and consise for 30 min!
Thank you so much for the review ,we appreciate your efforts : ) We are glad that you have enjoyed your learning experience with us .Thank You for being a part of our Edureka team : ) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )
Thanks so much, I understand Docker file now. You are a great tutor
Hi : ) We really are glad to hear this ! Truly feels good that our team is delivering and making your learning easier :) Keep learning with us .Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )
Nice explanation easy to learn from edureka
Thankyou so much for this explanation
Hey Chethan ! Glad we could help you . Thank you for the compliment . Do subscribe the channel for more interesting videos .
One of the best videos I’ve seen on the topic of docker
Thank u soomuch❤️
Brilliant ! I have always liked edureka tutorials . Well explained and easy to get concepts .
Thank you for your review : ) We are glad that you found our videos /contents useful . We are also trying our best to further fulfill your requirements and enhance your expirence :) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )
Good explanation for the beginners in Dockers with linux knowledge.
Good explanation
this is the best docker tutorial over internet! ty!
Sir how can I create Jenkins container image using dockerfile
thanks for such a clear explanation!
Awesome tutorial. Thank you
Great video and it is very helpful Thank you.
As usual.. Great way of explaining things.
Thanks vardhan, thanks edureka. 😀
Thanks for the heat-warming feedback Vinay :)
You might be also interested in other Docker videos of ours. Please watch them here: ruclips.net/video/h0NCZbHjIpY/видео.html
Hi - This is a great video. I need help at a point - i am getting the following error when trying to spawn the container ::
sudo docker run -p 80:80 --name=App5 myapacheimage
apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot
Can you please advise how to go about solving this ?
Thank you so much bro and edureka for this valuable video..Thank you..
Loved this! Clear and to the point.
Thanks for your detailed video. I was able to achieve the docker installation in centOS as well with no issues. The same commands work perfectly.
Thanks for the compliment Navyasri! We are glad you loved the video. Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Cheers!
I started learning devops recently from your videos. Guys I have a doubt here please solve. After testing Jenkins package everything including code and dependencies into a war/jar file. Even dockerfile contains application's source code and dependencies. Now if we are using the docker container to deploy onto production server. Now where do we use the war file that is generated from JEnkins? someone please clarify.
Hey Raagitha! The WAR file that is created by the Continuous Integration server is put in the docker container..to package it as a container. Then, the container is used in the testing or the production server.
Very helpful, thanks!
it would be a good idea to label the arrows so that you show what operation transitions from one box to another
Such a great tutorial budd...make it more like this
superb
Amazing content and great explaination !! Thanks for your help !
Thanks for your effort...
Thanks Faisal. Hope you enjoyed the video :)
Greatly explained!
That's too good man!!
Hi Vardhan Need to work on real time project on devops,are u providing any real time project?
Hey Yangesh, hope you liked the video. We only provide projects as part of the course,it's not real time necessarily. Edureka’s DevOps Certification training will set you on the path of becoming a successful DevOps Engineer. You can check out the complete course details over here: www.edureka.co/devops.
Hope this helps!
awsome
Thank you so much for your review on our channel Great to hear that Edureka is helping you learn better . We’ll strive to make even better learning contents/courses in the future ! Do subscribe the channel for more updates : )
Thanks a ton.
Great explanation
Hey Aarsh, thank you for watching our video. We are glad to know that you liked our tutorial. Do subscribe and stay connected with us. Cheers :)
Really a good content and structured one. I'll personally request to continue this and take a step ahead and create a video on docker compose as well. So that we can extend our skills in understanding concept and use it to it's full extent. Thank you for your videos.
Hi Shashank, we are glad the video was useful.
Here is a complete playlist on Docker, its has Docker compose video as well: ruclips.net/p/PL9ooVrP1hQOHUKuqGuiWLQoJ-LD25KxI5
Happy Learning, cheers!
Thank you for your reply. I'll go through it. Thank you once again for your contents it really helped me a lot.
hi edureka
Hi Suraj,
Hope you liked the video. Stay tuned to Edureka's channel for more videos on trending technologies here: ruclips.net/user/edurekaIN
Thank you for the great tutorial guys
Thanks alot u r the best
thank you
Nice tutorial. Thanks for putting this together!
Hi Karl, thanks for the appreciation. We are glad you loved the video. Cheers!
Can I use docker to create image for a GUI specific application? I'm trying to create docker image for a Tkinter Application.
Why not.
Great!
Just a quick question, Where should I find the ENV variable for mentioned in the dockerfile, what should i refer to ?
Hey Nitin, docs.docker.com/v17.09/engine/userguide/eng-image/dockerfile_best-practices/#env. This should help you. Cheers!
What is base image? I mean how can I got to know that my application need this base Image? How I decide this ?
Dockerfile usually starts from a base image. As defined in the Docker documentation, a base image or parent image is where your image is based. It's your starting point. It could be an Ubuntu OS, Redhat, MySQL, Redis, etc. Every application will need a base image. You can create it from scratch as well but that is something for more advanced users.
is the Nginx.conf file created during this process? if not what should I do in order to get the Nginx.conf file?
Hi Navyasri, By default, the configuration file is named nginx.conf and placed in the directory /usr/local/nginx/conf. Sometimes at other locations like /etc/nginx, or /usr/local/etc/nginx. Hope this helps. Cheers!
Hello sir,
Currently I working as Linux admin. I want to learn docker is there scripting knowledge required
Hey Ashweeni, A good knowledge of programming on Linux is about all you need.
Hope this helps!
Hi sir u have used cmd in the Apache server to start and entry point in nginx server the 2 builts were success what actually to be used
Hey Bhavani, you can use either of them.
is the nginx and the apache can up together?
Hi, can you please elaborate your query?
Good but was explaining very fast!!!
In both the dockerfile -d and -g flag what does it means ?
Hey Nitin, "I need to know the context
-d is usually used with run ... its for detaching"
Hope this helps!
How to create file in image through docker file
Hi Ankit, thanks for watching the video. You can follow this blog: www.edureka.co/blog/docker-explained
Hello, This was very informative tutorial.
Although I havent fully understood USER command. I have a Dockerfile in which I have created a user 'ubuntu'. I have built docker image using this Dockerfile. The problem comes when I use this image in my OpenShift environment and run the container using this image, I get error: sudo: unknown uid 1000110000: who are you?
I am using this Dockerfile (github.com/dhanugithub/omdockerimage). Can you please help me understand what I am doing wrong here? Being a fresher in Docker, I don't have deep knowledge of it as of now.
Thank you.
Hey Dhanashree, This usually occurs when the current UID that you're using is not present in etc/passwd. Check the etc/passwd file for this uid.
Follow these steps to check
step 1- strace -f -F -o whoami whoami
you'll get a file called whoami, parse it
grep etc whoami
5029 open(/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
There could be another cause, by any chance do you have apparmour installed? Maybe its blocking something, try uninstalling it.
If this doesn't solve the problem, put this question up on the following link: www.edureka.co/community/
Hope this helps!
Hello, I managed to resolve the issue of uid. Now I have uid, gid of USER in dockerfile inside /etc/passwd of my container. I still have other issues but not regarding USER for now. Thank you for the guidance. I will write again if I have another doubt.