Тёмный

Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Training | Edureka 

edureka!
Подписаться 4,2 млн
Просмотров 171 тыс.
50% 1

** DevOps Docker Training : www.edureka.co/devops-certifi... **
This Edureka video on Dockerfile Tutorial will help you understand how a Dockerfile can be written from scratch and how it can be used to create custom Docker Images and eventually spin Docker containers out of those images. The following topics are covered in this video:
1. What is Docker?
2. What is a Dockerfile?
3. Dockerfile syntax
4. DockerFile Example: Dockerizing Apache & Nginx
To learn how Docker can be used to integrate multiple DevOps tools, watch the video titled 'DevOps Tools', by clicking this link: goo.gl/up9iwd
Check our complete DevOps playlist here: goo.gl/O2vo13
---------𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐃𝐞𝐯𝐎𝐩𝐬 𝐓𝐫𝐚𝐢𝐧𝐢𝐧𝐠𝐬----------
🔵DevOps Online Training: bit.ly/3GOAlD5
🔵Kubernetes Online Training: bit.ly/3q0zrg1
🔵Docker Online Training: bit.ly/3DYPCj9
🔵AWS Certified DevOps Engineer Online Training: bit.ly/3pXnB6y
🔵Azure DevOps (Az-400) Online Training: bit.ly/3m8WmVr
---------𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐃𝐞𝐯𝐨𝐩𝐬 𝐌𝐚𝐬𝐭𝐞𝐫𝐬 𝐏𝐫𝐨𝐠𝐫𝐚𝐦---------
🔵DevOps Engineer Masters Program: bit.ly/3pXp1Ou
----------𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐔𝐧𝐢𝐯𝐞𝐫𝐬𝐢𝐭𝐲 𝐏𝐫𝐨𝐠𝐫𝐚𝐦---------
🌕 Post Graduate Program in DevOps with Purdue University: bit.ly/3yqRlMS
Facebook: / edurekain
Twitter: / edurekain
LinkedIn: / edureka
#Docker #Dockerfile #DockerContainer #DevOpsTools #DevOpsTraining #DevOpsTutorial #DevOpsDocker #Docker #DockerTutorial #DockerTraining
How it Works?
1. This is a 4 Week Instructor-led Online Course.
2. The course consists of 24 hours of online classes, 25 hours of assignment, 20 hours of project
3. We have a 24x7 One-on-One LIVE Technical Support to help you with any problems you might face or any clarifications you may require during the course.
4. You will get Lifetime Access to the recordings in the LMS.
5. At the end of the training you will have to complete the project based on which we will provide you a Verifiable Certificate!
- - - - - - - - - - - - - -
About the Course
Edureka’s DevOps online training is designed to help you master key tools of Devops lifecycle like Docker, Puppet, Jenkins, Nagios, GIT, Ansible, SaltStack and Chef used by a DevOps Engineer for automating multiple steps in SDLC. During this course, our expert DevOps instructors will help you:
1. Understand the concepts and necessities of DevOps
2. Understand the need for DevOps and the day-to-day real-life problems it resolves
3. Learn installation and configuration of common infrastructure servers like Apache, and Nginx for the Enterprise
4. Learn popular DevOps tools like Jenkins, Puppet, Chef, Ansible, SaltStack, Nagios and GIT
5. Implement automated system update, installations and deployments
6. Learn Virtualization Concepts
7. Configuration deployment and packaging, continuous integration using GIT
8. Fine tune Performance and set-up basic Security for Infrastructure
9. Manage server operations using Code which is popularly known as Infrastructure as a Code
10. Understand the need for and concepts of Monitoring and Logging.
Along with the above mentioned topics, to help you master the most popular DevOps tools, you will also receive 3 additional self-paced courses including presentations, class recordings, assignments, solutions for the following tools:
1: Ansible - Covers Introduction, Setup & Configuration, Ansible Playbooks, 37 Ansible Modules, Different Roles and Command Line usage.
2: Chef - Covers Introduction, Building the Cook Book, Node Object & Search, Data-bags, Chef environment, Roles, Deploying Nodes in Production and using the Open Source Chef Server.
3: Puppet - Covers Puppet Infrastructure & run-cycle, the Puppet Language, Environment defining Nodes and Modules, Provisioning a Web Server and Executing Modules Against A Puppet Master.
- - - - - - - - - - - - - -
Who should go for this course?
DevOps practitioners are among the highest paid IT professionals today, and the market demand for them is growing rapidly. With emergence of new job roles around DevOps philosophy, anyone aspiring to get into these new roles, can take up this DevOps course. Some of these roles are:
1. DevOps Architect
2. Automation Engineer
3. Software Tester
4. Security Engineer
5. Integration Specialist
6. Release Manager
- - - - - - - - - - - - - -
Project Work
1. Host a dummy webpage using Apache Web Server.
2. Write shell script which reports:
a) Various system configurations related to the user and the OS.
b) Data related to load on the server.
c) Top 5 processes with maximum number of threads.
d) Sort the services by memory
3. Install Nagios on a VM node for monitoring the various parameter of the VM.
For more information, please write back to us at sales@edureka.co or call us at IND: 9606058406 / US: 18338555775 (toll-free).

Опубликовано:

 

3 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 81   
@edurekaIN
@edurekaIN 6 лет назад
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 "RU-vid20" to get Flat 20% off on this training.
@navyasriveluri
@navyasriveluri 5 лет назад
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.
@edurekaIN
@edurekaIN 5 лет назад
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!
@harishrajendran8338
@harishrajendran8338 4 года назад
Good explanation for the beginners in Dockers with linux knowledge.
@akankshajaiswal5400
@akankshajaiswal5400 5 лет назад
Amazing content and great explaination !! Thanks for your help !
@vinaykumar-qq9wq
@vinaykumar-qq9wq 6 лет назад
As usual.. Great way of explaining things. Thanks vardhan, thanks edureka. 😀
@edurekaIN
@edurekaIN 6 лет назад
Thanks for the heat-warming feedback Vinay :) You might be also interested in other Docker videos of ours. Please watch them here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-h0NCZbHjIpY.html
@aar021
@aar021 3 года назад
Loved this! Clear and to the point.
@DhanushRM
@DhanushRM 3 года назад
Till date this is the best and simple explanation of docker and dockerfile I have watched. Thank you
@sgrhr024
@sgrhr024 4 года назад
Such a great tutorial budd...make it more like this
@ekramha.9633
@ekramha.9633 4 года назад
Thank you for the great tutorial guys
@DennisAllard
@DennisAllard 5 лет назад
it would be a good idea to label the arrows so that you show what operation transitions from one box to another
@shashanksshetty9870
@shashanksshetty9870 6 лет назад
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.
@edurekaIN
@edurekaIN 6 лет назад
Hi Shashank, we are glad the video was useful. Here is a complete playlist on Docker, its has Docker compose video as well: ru-vid.com/group/PL9ooVrP1hQOHUKuqGuiWLQoJ-LD25KxI5 Happy Learning, cheers!
@shashanksshetty9870
@shashanksshetty9870 6 лет назад
Thank you for your reply. I'll go through it. Thank you once again for your contents it really helped me a lot.
@yahya89able
@yahya89able 5 лет назад
Thanks alot u r the best
@ffwang0306
@ffwang0306 4 года назад
Very helpful, thanks!
@nazgulzholmagambetova1198
@nazgulzholmagambetova1198 3 года назад
thanks for such a clear explanation!
@amolyasingh7598
@amolyasingh7598 3 года назад
Brilliant ! I have always liked edureka tutorials . Well explained and easy to get concepts .
@edurekaIN
@edurekaIN 3 года назад
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 : )
@robomasticus
@robomasticus 5 лет назад
Nice tutorial. Thanks for putting this together!
@edurekaIN
@edurekaIN 5 лет назад
Hi Karl, thanks for the appreciation. We are glad you loved the video. Cheers!
@hotplugin
@hotplugin 6 лет назад
Thanks for your effort...
@edurekaIN
@edurekaIN 6 лет назад
Thanks Faisal. Hope you enjoyed the video :)
@saidul14319
@saidul14319 4 года назад
That's too good man!!
@niyiuwuma
@niyiuwuma 3 года назад
Thanks so much, I understand Docker file now. You are a great tutor
@edurekaIN
@edurekaIN 3 года назад
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 : )
@alpeshvasani8626
@alpeshvasani8626 4 года назад
Greatly explained!
@RandomShowerThoughts
@RandomShowerThoughts 5 лет назад
One of the best videos I’ve seen on the topic of docker
@nagarajunagari4749
@nagarajunagari4749 4 года назад
Thank you so much bro and edureka for this valuable video..Thank you..
@tedchirvasiu
@tedchirvasiu 5 лет назад
Thanks a ton.
@TheJemma5
@TheJemma5 4 года назад
Awesome tutorial. Thank you
@dougwan8150
@dougwan8150 3 года назад
Great video and it is very helpful Thank you.
@shrishailkalashetti4953
@shrishailkalashetti4953 4 года назад
Nice explanation easy to learn from edureka
@koyelnath5871
@koyelnath5871 5 лет назад
Great!
@MultiAarsh
@MultiAarsh 6 лет назад
Great explanation
@edurekaIN
@edurekaIN 6 лет назад
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 :)
@ThePomelo09
@ThePomelo09 5 лет назад
this is the best docker tutorial over internet! ty!
@hariomjain3983
@hariomjain3983 3 года назад
Thank u soomuch❤️
@mycreationmanishyadav444
@mycreationmanishyadav444 Год назад
Sir how can I create Jenkins container image using dockerfile
@CarlosCarucce
@CarlosCarucce 5 лет назад
thank you
@yasin3588
@yasin3588 2 года назад
really helpful!
@jagatdas3291
@jagatdas3291 2 года назад
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 ?
@chetansoni2795
@chetansoni2795 3 года назад
Thankyou so much for this explanation
@edurekaIN
@edurekaIN 3 года назад
Hey Chethan ! Glad we could help you . Thank you for the compliment . Do subscribe the channel for more interesting videos .
@yangeshdash3310
@yangeshdash3310 6 лет назад
Hi Vardhan Need to work on real time project on devops,are u providing any real time project?
@edurekaIN
@edurekaIN 6 лет назад
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!
@AA-dn4bg
@AA-dn4bg 2 года назад
Very nice presentation, and consise for 30 min!
@edurekaIN
@edurekaIN 2 года назад
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 : )
@Rohit3713
@Rohit3713 6 лет назад
Can I use docker to create image for a GUI specific application? I'm trying to create docker image for a Tkinter Application.
@ankitvashistha005
@ankitvashistha005 5 лет назад
Why not.
@nitin9281
@nitin9281 5 лет назад
Just a quick question, Where should I find the ENV variable for mentioned in the dockerfile, what should i refer to ?
@edurekaIN
@edurekaIN 5 лет назад
Hey Nitin, docs.docker.com/v17.09/engine/userguide/eng-image/dockerfile_best-practices/#env. This should help you. Cheers!
@RavindraRaivlogs
@RavindraRaivlogs 4 года назад
superb
@widadcadi2950
@widadcadi2950 3 года назад
Good explanation
@raagithagummadi1038
@raagithagummadi1038 5 лет назад
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.
@edurekaIN
@edurekaIN 5 лет назад
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.
@bhavanichennam5477
@bhavanichennam5477 5 лет назад
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
@edurekaIN
@edurekaIN 5 лет назад
Hey Bhavani, you can use either of them.
@vaishumurali1816
@vaishumurali1816 Год назад
Fantastic explanation 👏
@edurekaIN
@edurekaIN Год назад
Thank you 😊 Glad it was helpful!
@navyasriveluri
@navyasriveluri 5 лет назад
is the Nginx.conf file created during this process? if not what should I do in order to get the Nginx.conf file?
@edurekaIN
@edurekaIN 5 лет назад
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!
@ashweenikodag1257
@ashweenikodag1257 5 лет назад
Hello sir, Currently I working as Linux admin. I want to learn docker is there scripting knowledge required
@edurekaIN
@edurekaIN 5 лет назад
Hey Ashweeni, A good knowledge of programming on Linux is about all you need. Hope this helps!
@nitin9281
@nitin9281 5 лет назад
In both the dockerfile -d and -g flag what does it means ?
@edurekaIN
@edurekaIN 5 лет назад
Hey Nitin, "I need to know the context -d is usually used with run ... its for detaching" Hope this helps!
@sweetwoodbunnies
@sweetwoodbunnies 5 лет назад
is the nginx and the apache can up together?
@edurekaIN
@edurekaIN 4 года назад
Hi, can you please elaborate your query?
@semaltysuraj
@semaltysuraj 6 лет назад
hi edureka
@edurekaIN
@edurekaIN 6 лет назад
Hi Suraj, Hope you liked the video. Stay tuned to Edureka's channel for more videos on trending technologies here: ru-vid.com
@mohittayal9731
@mohittayal9731 4 года назад
What is base image? I mean how can I got to know that my application need this base Image? How I decide this ?
@edurekaIN
@edurekaIN 3 года назад
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.
@haranathb3971
@haranathb3971 4 года назад
Good but was explaining very fast!!!
@ashubesongnso4221
@ashubesongnso4221 3 года назад
awsome
@edurekaIN
@edurekaIN 3 года назад
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 : )
@dhanashreekulkarni7197
@dhanashreekulkarni7197 6 лет назад
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.
@edurekaIN
@edurekaIN 6 лет назад
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!
@dhanashreekulkarni7197
@dhanashreekulkarni7197 6 лет назад
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.
@Raj-si5yz
@Raj-si5yz 5 лет назад
How to create file in image through docker file
@edurekaIN
@edurekaIN 5 лет назад
Hi Ankit, thanks for watching the video. You can follow this blog: www.edureka.co/blog/docker-explained
Далее
БАТЯ И СОСЕД😂#shorts
00:59
Просмотров 1,6 млн
Brawl Stars Animation: PAINT BRAWL STARTS NOW!
00:52
Китайка и Шрек в Домике😂😆
00:20
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
Creating your first Dockerfile, image and container
14:46
Kubernetes Crash Course for Absolute Beginners [NEW]
1:12:04
Introduction to Microservices, Docker, and Kubernetes
55:08
БАТЯ И СОСЕД😂#shorts
00:59
Просмотров 1,6 млн