What is Docker Compose | How to create docker compose file | How to use Compose
Free Tutorials - automationstepbystep.com/
I am Raghav & Today we will learn :
1. What | Why - Docker Compose
2. How to install
3. How to create docker compose file
4. How to use docker compose file to create services
5. Basic Commands
TIPS
Docker compose
: tool for defining & running multi-container docker applications
: use yaml files to configure application services (docker-compose.yml)
: can start all services with a single command : docker compose up
: can stop all services with a single command : docker compose down
: can scale up selected services when required
Step 1 : install docker compose
(already installed on windows and mac with docker)
docker-compose -v
2 Ways
1. github.com/docker/compose/rel...
2. Using PIP
pip install -U docker-compose
Step 2 : Create docker compose file at any location on your system
docker-compose.yml
Step 3 : Check the validity of file by command
docker-compose config
Step 4 : Run docker-compose.yml file by command
docker-compose up -d
Steps 5 : Bring down application by command
docker-compose down
TIPS
How to scale services
-scale
docker-compose up -d --scale database=4
References:
hub.docker.com
github.com/docker/compose/rel...
docs.docker.com/compose/compo...
www.google.co.in/search?q=mic...
_____________________________________________________________
#DockerCompose #DockerComposeIntroduction #DockerContainers #DockerTutorials #DockerTraining #DevOpsTools #DevOpsTraining #DockerCommands #DockerForBeginners #DockerFreeTutorials #DockerforDevOps
DOCKER PLAYLIST
• Docker
KZread PLAYLIST
/ @raghavpal
KZread
/ automationstepbystep
FACEBOOK
/ automationstepbystep
TWITTER
/ automationsbs
If you like videos on the channel Automation Step by Step, hit the like button and share with others.
Click the SUBSCRIBE button and hit the bell icon to keep getting new videos.
Ask Raghav- bit.ly/2CoJGWf
Interviews - bit.ly/2NIPPxk
All Playlists - bit.ly/2LSiezA
----------- Follow -----------
KZread - / automationstepbystep
Share your knowledge with everyone and,
Never Stop Learning
Raghav
Пікірлер: 662
Free online courses - automationstepbystep.com/online-courses/
@kadhirn4792
4 жыл бұрын
long live man!
I have gone through Udemy courses, there instructor focuses on their task such as CI/CD but here videos are for free and very well explained. Anyone can understand easily and practice for same. I learnt Jenkins, GIT, Docker from your videos. Thanks a lot for these awesome playlists.
@RaghavPal
3 жыл бұрын
Hi Rishabh, you're most welcome
Awesome gyaan, Raghav. Thank you for making a crisp and to-the-point video covering basics and showcasing the concepts with practical working.
@RaghavPal
5 жыл бұрын
You're welcome Ajeetz
Very short and comprehensive Explanation. 100/100 marks .
@RaghavPal
5 жыл бұрын
Glad to see this message Aamer
@roshnis8552
4 жыл бұрын
100/100
Nice! Easy tutorial, nice examples , step-by-step and easy terminal fonts and big to read. Nice slow pace, not too fast to see what you are doing on the screen! Good job.
@RaghavPal
4 жыл бұрын
Glad you enjoyed it Andrew
Thanks mate, it's highly impressive and easy to digest video, much appreciated!
@RaghavPal
10 ай бұрын
Most welcome Tim
That was awesome explanation... Really looking forward for the continuation of this tutorial
@RaghavPal
5 жыл бұрын
Glad to know this Ashish
thank you so much great explanation, I had been looking everywhere for that.
@RaghavPal
4 жыл бұрын
So happy to know it helped
Thanks! Worked perfectly as an introduction to docker compose. Samples are simple and shows very basic thins which perfectly fits for starting!
@RaghavPal
3 жыл бұрын
Glad it helped Pavel
Super ... Raghav. Awesome explanation. Keep up the good work.
@RaghavPal
4 жыл бұрын
Most welcome Sohail
The notes you show with a music at the end makes us revise the whole video. Magnificent work you are doing. Thank you
@RaghavPal
2 жыл бұрын
You're very welcome!
Thanks Raghav pal for your Docker series videos. Very useful to kick start with. Thank you and waiting for advance concepts further
@RaghavPal
5 жыл бұрын
Sure Venkata, will try to work on this
Thank You, Raghav for your explanation.
@RaghavPal
2 жыл бұрын
You're most welcome Shanth
Thank you so much. I loved watching all your videos and the best part is at the end "If you don't succeed try one more time".
@RaghavPal
4 жыл бұрын
So happy to know this Mukund. Do share your knowledge with others.
Nice short tutorial. The best part is you DO show errors and HOW to resolve. Not many folks do that. Thank you.
@RaghavPal
5 жыл бұрын
You're welcome Pavel
Great Explanation Raghav..!
@RaghavPal
2 жыл бұрын
Thanks Sandeep
Very concise and crisp explanation. What I liked most is, describing in just required detail, and the explaining the alternative ways in a very smart and quick way.
@melisabegic2428
5 жыл бұрын
do you know how to get out of composeFile, how to get an insert and the like? Where can I find these abbreviations?
@RaghavPal
5 жыл бұрын
Glad it was helpful Nasim
Hey Shout out, Excellent set of videos on Docker I loved it. Thanks for share
@RaghavPal
4 жыл бұрын
You're welcome David
Beautifully explained to start with docker compose. Suggestion: Every time you use DOCKER PS, please show us output of DOCKER PS -A as well (curious to see if containers are dead on DOCKER-COMPOSE DOWN command). Please keep posting more and more videos. Thanks a lot. Cheers!
@RaghavPal
5 жыл бұрын
Thanks for watching Shwetank. Will do.
I have gone through all the 11 videos all are nice, neat and clear. thanks.
@RaghavPal
4 жыл бұрын
You're welcome Haribabu
Thanks a lot for your this video❗I can cleary understand docker-compose‼️
@RaghavPal
4 жыл бұрын
Glad to hear that Teru
very informative, thank you
Hey, You're awesome.. just love the way you teach! :)
@RaghavPal
2 жыл бұрын
Thanks a lot Nazia
Thanks for the video,its comprehensive.
@RaghavPal
3 жыл бұрын
Most welcome Tarrique
Very simplified way of training people who are new to dockers... Good one Raghav, Thank you.
@RaghavPal
4 жыл бұрын
My pleasure Prashanth
well explained, very helpful. Thank you so much.
@RaghavPal
2 жыл бұрын
Most welcome Rajesh
What a video it is...I have seen many videos about docker but the way you explained is absolutely amazing... Thank you so much for making it easy for us... Wonderful job ..
@RaghavPal
3 жыл бұрын
You are most welcome Dipanshu
Awesome, Fantastic , superb.. Million thanks,,
@RaghavPal
5 жыл бұрын
You're welcome Harpit
Great video, even after five years! I believe they have helped many users.
@RaghavPal
Ай бұрын
Great to hear that.. so happy and humbled
I just love the end part summary with the music. Many thanks for the video. Hope you are already ready with tomorrow's Sunday Special video.
@RaghavPal
3 жыл бұрын
Great Suprotim, Yes Sunday Special ep is coming
Great tutorial, thanks for sharing!
@RaghavPal
2 жыл бұрын
Glad you enjoyed it Christopher
Wonderful boss, very clear, very precise. i had little experience but using commands blindly now its clear, thank you.
@RaghavPal
3 жыл бұрын
You are most welcome Paramesh
I know it's quite late, but I have just began my journey in this area as of Automation and CI/CD. What a video, great explanation mate. Thank you so much.
@RaghavPal
Жыл бұрын
Welcome aboard Binod and all the best for next sessions
Man.., Loved the way you explain.., very easy to understand., simple yet elegant ..., Thank you...!!
@RaghavPal
5 жыл бұрын
You're welcome Mahesh
great sir, in one video i have completely get the clear understanding of docker compose
@RaghavPal
Жыл бұрын
Great to know this Nagarjuna
Thanks Raghav, It is really nice tutorial.
@RaghavPal
3 жыл бұрын
Most welcome!
Thank you, very good and simple!
@RaghavPal
5 жыл бұрын
You're welcome Zoran
Great video. simply explained.
@RaghavPal
2 жыл бұрын
Thanks Fahis
Great video...even 3 years later. Thank you. Subscribed.
@RaghavPal
2 жыл бұрын
Awesome, thank you Pavon
Thanks Raghav. Your videos are still helping in 2024 !
@RaghavPal
4 ай бұрын
Glad to hear that Saurabh
Wow, very nice. Easy to understand. Thanks.
@RaghavPal
6 жыл бұрын
Great to know this Neelesh
Great tutorial man, thanks for it.
@RaghavPal
5 жыл бұрын
You're welcome
Thank you! you made it look vvv simple!!!
@RaghavPal
5 жыл бұрын
You're welcome Anurag
Thanks much for the detailed explanation....Cheers..!! :)
@RaghavPal
4 жыл бұрын
You're welcome Sreekanth
Amazing explanation as always Raghav, highly impressed
@RaghavPal
3 жыл бұрын
Thanks a ton Victor
Hey ! just a comment, excellent job ! keep on the good work !
@RaghavPal
5 жыл бұрын
Thanks Mouhcine
Clear and useful session!!! Thanks a lot!!!!
@RaghavPal
4 жыл бұрын
You're welcome Meytal
A big round of applause for Raghav & his skills...
@RaghavPal
3 жыл бұрын
Thanks for watching Rahul
great tutorial, thanks!
@RaghavPal
3 жыл бұрын
You're welcome Dave
Thanks. Really helps me alot. Good explanation.
@RaghavPal
6 ай бұрын
Most welcome
Thanks. This is the explanation I was looking for
@RaghavPal
4 жыл бұрын
You're welcome Kris
thank you very much for the video!!
@RaghavPal
11 ай бұрын
Most welcome
amazing dude... best video so far.
@RaghavPal
4 жыл бұрын
Thanks for watching.
Thanks bro it really helped!!!!. 👍🏻
@RaghavPal
2 жыл бұрын
most welcome
well explained the docker-compose and it can be understand to beginners.
@RaghavPal
5 жыл бұрын
Happy to know this Kandula
Simple, super, step by step raghav .......
@RaghavPal
5 жыл бұрын
Thanks for the message Raghavendra
Thank you for wonderful clean videos
@RaghavPal
4 жыл бұрын
You are so welcome!
The way you explaining about it is really awesome ..Thx alot for composing on it & sharing with us
@RaghavPal
4 жыл бұрын
Glad you liked it Mahesh
I have used different resources and videos to get actual creating of docker compose file. With this all my doubts are cleared. Thank you for great content
@RaghavPal
11 ай бұрын
You are most welcome Parikshit
Really helpfull, thank you!
@RaghavPal
2 жыл бұрын
Most welcome Fabian
Sharing the notes in video description is awesome helpful, thank you
@RaghavPal
3 жыл бұрын
You are welcome Sandeep
Simple and easy to understand thank you!
@RaghavPal
3 жыл бұрын
You're welcome!
This is awesome explanation. Thank you!
@RaghavPal
3 жыл бұрын
You're very welcome Abhishek
Thank you Your videos are very helpful
@RaghavPal
Жыл бұрын
Most welcome
Your videos are great. Thanks
@RaghavPal
3 жыл бұрын
Most welcome Jacob
Short concise and very efficient video. Thanks Raghav
@RaghavPal
4 жыл бұрын
Most welcome Pradip
Raghav this was a very useful video.. keep it coming.
@RaghavPal
4 жыл бұрын
Sure Saji. Can check all here - automationstepbystep.com/
Very useful video. Thank you
@RaghavPal
3 жыл бұрын
Glad it was helpful Avijit
Thank you very much sir, Please keep it up....
@RaghavPal
5 жыл бұрын
You're welcome Channat
Easy to understand. Thank you.
@RaghavPal
5 жыл бұрын
You're welcome
it a well well done video, very very audible, smooth delivery, step by step, a new person can follow, its absolutely fantastic, keep it up, great job, shows you have worked hard honestly, great work again
@RaghavPal
4 жыл бұрын
So happy and humbled to see your message. Thanks for the kind words
Thank you very much.. This video help me a lot
@RaghavPal
3 жыл бұрын
You are welcome Ahmad
Very nice explained videos...! thank you very much...
@RaghavPal
4 жыл бұрын
You're welcome Sandeep
If I didn't like this video, That will be the first mistake of mine for today.. Very well explained 👌
@RaghavPal
2 жыл бұрын
Glad it helped Jaya
Very useful vedio. Very clear to understand thank you sir
@RaghavPal
Жыл бұрын
You're most welcome Thulasi
To the point video, keep it up
@RaghavPal
3 жыл бұрын
Thanks,
Awesome video, thank you.
@RaghavPal
5 жыл бұрын
You're welcome Vinay
hi Raghav Pal, very nice and simple tutorial. Thank you so much.
@RaghavPal
5 жыл бұрын
You're welcome Madhusudan
you got a subscriber man!!!Nice explanations
@RaghavPal
4 жыл бұрын
Thanks for watching and subsribing
प्रिय राघव, इस तरह के उपयोगी वीडियो बनाने के लिए कोटि कोटि से धन्यवाद् ||
@RaghavPal
3 жыл бұрын
धन्यवाद
Thanks a lot. This is really very very helpful. :)
@RaghavPal
4 жыл бұрын
You're welcome Jile
Nicely done ....thanks!
@RaghavPal
5 жыл бұрын
thanks
nice video..easy to understand and run
@RaghavPal
2 жыл бұрын
Glad you liked it!
Just awesome explanation sir
@RaghavPal
2 жыл бұрын
Thanks and welcome Sravan
thank you,very helpful
@RaghavPal
Жыл бұрын
You are welcome Priyanka
Very precise and to the point discussion and very helpful replies in comments. Thank you mate... Watching from Pakistan... Really appreciated ...
@RaghavPal
4 жыл бұрын
Thanks for watching Farrukh
Thank for sharing.!
@RaghavPal
2 жыл бұрын
Welcome Jorge
Gooood... Thanks for the video.
@RaghavPal
4 жыл бұрын
You're welcome Furqon
Thank you very much for your clear tutorial ;)
@RaghavPal
4 жыл бұрын
You're welcome
Helpful. Love it
@RaghavPal
4 жыл бұрын
Thanks Toufiq
You are excellent !!!!
@RaghavPal
2 жыл бұрын
Thanks Thomas
really very nice and very well explained.
@RaghavPal
4 жыл бұрын
Glad you liked it Mahesh
Thank you so much, This really helped me a lot.
@RaghavPal
3 жыл бұрын
So happy to know Suraj
Excellent videos ...loved it
@RaghavPal
4 жыл бұрын
Thanks a lot Sruthi
thank you very much, bro, all hope for you to be the best programmer ever .....
@RaghavPal
2 жыл бұрын
thanks Youssef
That was very helpful
@RaghavPal
2 жыл бұрын
Glad it helped
Thanks a lot. Please keep going.
@RaghavPal
5 жыл бұрын
Sure Mohan I will
NICE TUTORIAL RAGHAV .
@RaghavPal
5 жыл бұрын
Thank Hemant
Thank you so much Raghav! May Allah bless you kind sir!!
@RaghavPal
3 жыл бұрын
Thanks a lot Nasir
Very nice one for beginners :)
@RaghavPal
4 жыл бұрын
Glad you think so Vidyasagar