Ultimate Docker Compose Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

ความคิดเห็น • 269

  • @TechWorldwithNana
    @TechWorldwithNana  11 หลายเดือนก่อน +52

    Thank you for your comments and many messages about the leaked password. What a community 💙 Already updated it 👍
    If this video was helpful, be sure to subscribe and give a like 😊 Also any tips or learnings you want to share with others? 👀

    • @tonytran2687
      @tonytran2687 11 หลายเดือนก่อน +1

      ❤awesome, thanks Nana!

    • @srinuk5446
      @srinuk5446 11 หลายเดือนก่อน

      Simply superb... Awesome.... Thanks a lot .... NANA.... HAPPY TO SEE THIS

    • @silenthill47
      @silenthill47 11 หลายเดือนก่อน

      It helped a lot, but there should have volume part as well. Can you add that here?

    • @srh1034
      @srh1034 9 หลายเดือนก่อน +4

      Amazing course but very annoying with the command line being blocked by TH-cam progress bar.

    • @bigmusic7
      @bigmusic7 2 หลายเดือนก่อน

      @@srh1034 Thanks for the free courses on youtube.
      I would like to enrol on some of your paid courses but it is ridiculously expensive.
      Please can you consider reducing your price to make it affordable for everyone?

  • @pragmaticcoder6910
    @pragmaticcoder6910 11 หลายเดือนก่อน +64

    Please don’t stop making videos. Your teaching skills are amazing.

    • @AhmedIsam
      @AhmedIsam 3 หลายเดือนก่อน +1

      Hated alternative video from NetworkChuck, fully of fancy animation, fluff and camera focused on the presenter and he starts writing the compose file immediately! Here, you get to know what problem are you trying to solve first, then how to do it. The logic flows seamlessly in a well-thought-out manner.

  • @saffanalvy
    @saffanalvy 11 หลายเดือนก่อน +26

    You actually make practical and production level oriented tutorials. This is rare. I like it. Thanks.

  • @rohit-gupta
    @rohit-gupta 5 หลายเดือนก่อน +5

    Mam, you have my gratitude. I loved the tutorial. Very practical. Very knowledgeable.

  • @adeelrana1
    @adeelrana1 10 หลายเดือนก่อน +2

    Everything about the containerized environment, Docker, Kubernetes, Prometheus, minikube, Terraform, Ansible and a lot more I learned only from your videos that successfully landed me a great job as a Senior Software Engineer, There is nothing on your channel that I didn't look. Thank you so much for giving the right path.

  • @asaadfayyaz
    @asaadfayyaz 9 หลายเดือนก่อน +4

    Thank you again Nana, You are officially my primary mentor in devops. Your content is so direct and you pack so much in the limited time without us feeling overwhelmed. Keep doing the great work.

  • @BeThoR94
    @BeThoR94 10 หลายเดือนก่อน +4

    I've watched some of your tutorials on Docker and now on Docker Compose. I am learning a lot. Thank you.

  • @romaindede8699
    @romaindede8699 11 หลายเดือนก่อน +7

    @TechWorldwithNana
    web-application part:
    I think it is better to use `npm ci` instead of `npm install` to ensure consistency and speed; especially in production. :)
    (I understand that this is just an example, but I think, it may be worth showing production-oriented orders.)
    ```Dockerfile
    FROM node:20-alpine
    # Set the working directory in the container (If the directory does not exist, Docker will create it.)
    WORKDIR /home/app
    # Copy the application files to the working directory in the container
    COPY ./app .
    # Install dependencies using npm ci for consistency and speed
    RUN npm ci
    # no need for /home/app/server.js [...]
    ```
    Thanks again for your superb content!

  • @joseluislizanosanjulian702
    @joseluislizanosanjulian702 28 วันที่ผ่านมา +1

    Hello Nana, At my 60's I decided to convert from clasic DBA to DEVOPS ( I must have gone crazy 🤪) I would like to thanks you because you have become my favorite teacher. You have a gift and you are honored to share it with everyone. Thank you a million once again...👏

  • @RemcovanZuijlen
    @RemcovanZuijlen 11 หลายเดือนก่อน +9

    This tutorial is perfect for people who want to start with docker-compose. I use it for a couple of years already.
    I was a little surprised you used 'docker build' and 'docker push' to build and push the image to the registry. I use docker-compose for that as well. Just supply the image and build arguments in the yaml file and it works with just 'docker-compose build' and 'docker-compose push' as well. This also makes it less complicated.

    • @yogendrasingh-nz3pw
      @yogendrasingh-nz3pw 5 หลายเดือนก่อน +1

      Can you please share the code where docker compose is also use to build images and run the container also from same docker compose file

  • @nagdali9209
    @nagdali9209 10 หลายเดือนก่อน +7

    The way that you introduce the topics extremely amazing.

  • @warpdotdev
    @warpdotdev 11 หลายเดือนก่อน +19

    Thank you for such a great demo of Warp's features in your video, Nana!
    Outside of the sponsorship, you did an amazing job with this video. We loved the comparison of what life would be like without Docker Compose & your comparison of Docker Compose vs Kubernetes at the end.
    Viewers, if you do end up trying out Warp, please let us know if you run into any issues or have feedback 👍

    • @TechWorldwithNana
      @TechWorldwithNana  11 หลายเดือนก่อน +3

      Thank you so much for such amazing feedback on the video! 💙 I definitely enjoyed using the Warp terminal 😊🚀

    • @petersandovalmoreno5213
      @petersandovalmoreno5213 11 หลายเดือนก่อน

      Available for windows?

    • @arnabgolder2783
      @arnabgolder2783 9 หลายเดือนก่อน

      im using warp terminal for ubuntu version 22 and after installing it not shown ui page

  • @bmiguelmf
    @bmiguelmf 2 หลายเดือนก่อน +1

    When knowledge meets teaching excellence, you get Nana. Cheers!

  • @garyiredale3929
    @garyiredale3929 9 หลายเดือนก่อน +1

    Thanks

  • @oladejiolaoluwa9155
    @oladejiolaoluwa9155 11 หลายเดือนก่อน +10

    Hi Nana
    I've started my DevOps course and I've been following your roadmap....Thank you

    • @TechWorldwithNana
      @TechWorldwithNana  11 หลายเดือนก่อน +2

      That's great! 💪 Thank you for sharing :)

  • @boring-username
    @boring-username 11 หลายเดือนก่อน +8

    Names don't need to be creative so long as they're consistent and to-the-point 👍 Your naming convention is great!

  • @ashishranjanmahato4566
    @ashishranjanmahato4566 หลายเดือนก่อน +1

    This playlist is really amazing, the whole video series have amazing knowledge and practical implementation which allowed me to learn Docker in a really easy and beautiful way.
    Kudos for this effort!!!!!

  • @laurentvoisin8129
    @laurentvoisin8129 10 หลายเดือนก่อน +3

    Very helpful vidéo ! Thank you so much Nana. i'm a french fifty years old beginner in DevOps. 👍

  • @yomajo
    @yomajo 11 หลายเดือนก่อน +3

    version in yaml start is optional. From docs:
    The top-level version property is defined by the Compose Specification for backward compatibility. It is only informative.
    Compose doesn't use version to select an exact schema to validate the Compose file, but prefers the most recent schema when it's implemented.

  • @MrVernuk
    @MrVernuk 11 หลายเดือนก่อน +4

    Thanks, Nana! After this course my docker-compose knowledge has been more structured 😉

  • @mohitvalechay
    @mohitvalechay 6 หลายเดือนก่อน +1

    Nana rocks. I have fallen in love with your videos. Please keep making them. One of the best teachers!

  • @dmytro7441
    @dmytro7441 11 หลายเดือนก่อน +3

    Two days ago wanted to find similar video on you channel and here it is 😊
    Thank you so much!

  • @manassengudia1854
    @manassengudia1854 11 หลายเดือนก่อน +4

    I really like your videos and how straightforward you explain things without overwhelming . Thanks Nana

  • @kjvisual7
    @kjvisual7 10 หลายเดือนก่อน +5

    I'm only 16 minutes into your tutorial, but I want to pause to let you know that I really appreciate your clear communication. It's so refreshing. Thank you. I'll check back later.

  • @raghuveer120
    @raghuveer120 11 หลายเดือนก่อน +4

    Fan of your work Nana ❤. Thanks for educating everyone.

  • @torrvic1156
    @torrvic1156 2 หลายเดือนก่อน

    Extremely useful video! Now I really understand what docker compose is all about. Thanks a lot Nana! You are a great tutor indeed.
    Wish you told us more about persistence and how to work with databases images and how to backup volumes.

  • @Giorgi_Dzirkvelishvili
    @Giorgi_Dzirkvelishvili 10 หลายเดือนก่อน +3

    Thank you Nana for this amazing and high quality video 🙌
    Best wishes from Georgia 🇬🇪
    მადლობა ❤

  • @teeseira
    @teeseira 11 หลายเดือนก่อน +7

    This video came at the right time as I’ve been learning Docker this week 🐳✨

    • @TechWorldwithNana
      @TechWorldwithNana  11 หลายเดือนก่อน +1

      Perfect, hope it will be helpful for you 😊

  • @andremorency
    @andremorency 4 หลายเดือนก่อน +1

    Thank you for your teaching. The way you demonstrate things make me understand Docker much better.

  • @christianlestercayabyab6296
    @christianlestercayabyab6296 11 หลายเดือนก่อน +5

    Awesome tutorial! Hoping that you will make a video about docker swarm.

    • @TechWorldwithNana
      @TechWorldwithNana  11 หลายเดือนก่อน +1

      Thanks for your suggestion, great idea and we will consider it! 👍

  • @TheHerisatry
    @TheHerisatry 6 หลายเดือนก่อน +1

    love how easy it was to understand the concepts from docker crash course till docker-compose

  • @gandalf6878
    @gandalf6878 6 หลายเดือนก่อน

    Woahh!!! One of the best 1 hour tutorials ever. Perfectly structured with all the relationships. Thank you!

  • @kasali310
    @kasali310 11 หลายเดือนก่อน +1

    Thanks for your great and clear tutorial Nana. A video about well-known issues in docker or any DevOps tool will be great.

  • @TheCodingChamelion
    @TheCodingChamelion 10 หลายเดือนก่อน +2

    explained very easily the best channel for docker and k8s and others

  • @TheSpeechkiss
    @TheSpeechkiss 8 หลายเดือนก่อน

    Nana is the best. There are some other good teachers too but she is the best. Nana I love you, thank you for all the hard work you put in !

  • @subbyraccoon
    @subbyraccoon 11 หลายเดือนก่อน +2

    Comment for the algorithm gods, your K8S and Helm videos helped me a lot!

    • @TechWorldwithNana
      @TechWorldwithNana  11 หลายเดือนก่อน +1

      Happy to hear and thanks for your support 😊💙

  • @sourvsingh4528
    @sourvsingh4528 11 หลายเดือนก่อน +4

    I just dockerized my project for the first time. Yeahh 🎉 to me

  • @ousamabenyounes8344
    @ousamabenyounes8344 9 หลายเดือนก่อน +2

    really really cool video nana! thanks a lot and wish you success

  • @julienfourniols3764
    @julienfourniols3764 9 หลายเดือนก่อน

    Your videos are uncredible of simplicity and full explanations. All is clear even for neebies! Thx!

  • @luismora7640
    @luismora7640 10 หลายเดือนก่อน

    Such a well-explained video. I think 1Hr max is a good time to not lose your focus and understand topics easily. Thanks for the video and the high quality of it. Keep it up!

  • @bek_shoyatbek
    @bek_shoyatbek 6 หลายเดือนก่อน

    Thank you so much, I have learned a lot. I had no idea of Docker and docker compose but after your lessons I have deployed several our projects with Docker easily :)

  • @crazykidsinacar
    @crazykidsinacar 11 หลายเดือนก่อน +1

    Nana thanks for everything and i love how you teaching. I would like to suggest to you, since you use Warp, to configure it to display the terminal input lines at the top. I say this because, in my case, as I watch with subtitles sometimes, the lines get mixed up

  • @BryceLawson-r9k
    @BryceLawson-r9k 4 หลายเดือนก่อน

    This straight up explaining much better than my university has this week. Thank you so much for your great teaching skills and sharing your knowledge

  • @fatimaaflous4472
    @fatimaaflous4472 2 หลายเดือนก่อน +1

    Thank you so much for your efforts. This course is very helpful👋👋👋

  • @TOLANIAKINTAYO
    @TOLANIAKINTAYO 9 หลายเดือนก่อน

    Thank you Nana, Your video was very helpful in helping to understand the concept of docker compose better

  • @davitgogidze4310
    @davitgogidze4310 11 หลายเดือนก่อน +3

    🎯 One of the best mentors in the devops direction ☁ 🎓✨

  • @SIATehnobirojs
    @SIATehnobirojs 3 หลายเดือนก่อน

    Thank you very much for your videos. They are very helpful and motivate me to study. May God give you strength and health to continue sharing my experience and knowledge.

  • @casualgamerdad2878
    @casualgamerdad2878 5 หลายเดือนก่อน

    Thank you for this video Nana. My only suggestion is to format the video such that the TH-cam miniplayer control/progress bar would not overlap with the CLI commands that you are typing.

  • @sanjayreddy63
    @sanjayreddy63 5 หลายเดือนก่อน

    Excellent Course, helped me to quickly understand the concepts of Docker-Compose and adopted to my project.

  • @bronco_fv
    @bronco_fv 11 หลายเดือนก่อน

    Thank you for this video. I do have a few comments/suggestions:
    - had to add - container_name: mongo in the mongedb service for it to work, don't know why.
    - ports: - 27017:27017 exposes mongo to the host, but is not necessary in this example because in the stack the containers can access each others ports anyway. Expose as little as necessary.
    - There's the .env file for setting the env vars which is read by default if present
    - now there is "docker compose" which is written in Go as opposed to "docker-compose" (python version if I'm correct)

  • @pavankumard5276
    @pavankumard5276 10 หลายเดือนก่อน

    Just finished the Docker crash course tutorial, can't wait to finish this as well!!!

  • @ramiworkstation
    @ramiworkstation 6 หลายเดือนก่อน

    Thank you very much Nana. Your videos are as sweet as sugar. Thank you for sharing 🌻

  • @gmmxn
    @gmmxn 8 หลายเดือนก่อน

    First, thank you very much for sharing all your knowledge, I have learnt A LOT today.
    Second, looks like docker componse has been migrated from python (v 1.0) to GO (v 2.0) so now is part of the docker command itself, without the "-". Just in case someone is trying to install something "new" while watching this video (like me :D).

  • @tzahik1
    @tzahik1 11 หลายเดือนก่อน +1

    Great Video Nana!
    Thank you very much! ❤
    Love from Israel.

  • @estereotipo20
    @estereotipo20 13 วันที่ผ่านมา

    i really enjoy learning with you. one tip for the next time, please make sure that the command you are running on the terminal is on the top of the screen. It is really frustrating to not fully be able to see what you are typing because when i pause the video, the play/pause bar appears. thanks :)

  • @hosseinarjomandi4650
    @hosseinarjomandi4650 11 หลายเดือนก่อน +1

    Wow you released this video right at the time I ha finished your docker crash course

  • @thomash.8297
    @thomash.8297 11 หลายเดือนก่อน +1

    That‘s what I needed. Thanks Nana!

  • @CloudVirtualizationEnthusiast
    @CloudVirtualizationEnthusiast หลายเดือนก่อน

    Hello Nana, your channel is excellent and this video is as good as always!
    One suggestion: could you please make a video on Docker Swarm demo and how it compares to K8s?

  • @omara2248
    @omara2248 9 หลายเดือนก่อน

    Great video, going at the right pace, I learned so much. Thank you!

  • @-anonim-3008
    @-anonim-3008 10 หลายเดือนก่อน +1

    Thanks a lot! It's a great video for beginners. Docker hub is our future!

  • @דניאלאביב-ו6ת
    @דניאלאביב-ו6ת 22 ชั่วโมงที่ผ่านมา

    Nana you are a great teacher!

  • @ashishrajpoot859
    @ashishrajpoot859 6 หลายเดือนก่อน

    Thank you so much for creating such great video's. Really helps a lot. Appreciate all your efforts and dont stop making new videos
    👍

  • @nikhil9076
    @nikhil9076 11 หลายเดือนก่อน

    @TechWorld with Nana Really likes your devops videos. Waiting for your devops tool of month series videos.

  • @AzamMahdipour-j6b
    @AzamMahdipour-j6b 7 หลายเดือนก่อน

    Finally, I found what I needed! AWESOME! Thanks a million!

  • @e_hossam96
    @e_hossam96 24 วันที่ผ่านมา

    Thank you 🙏 That was very informative and simple 😇

  • @mo.dia97
    @mo.dia97 11 หลายเดือนก่อน +2

    Thank you Nana❤️ amazing work!

  • @aps8874
    @aps8874 10 หลายเดือนก่อน

    Hi....Thanks for making this video.This was crisp plus very insightful. Thanks again 💖

  • @rluijk
    @rluijk 11 หลายเดือนก่อน

    Thanks, both docker and docker-compose are nice refreshers after not touching this cool tools for some years.

  • @abdul755
    @abdul755 11 หลายเดือนก่อน +1

    Thank you so much for great video and valuable information, we are waiting for some videos related Docker file, Docker stack, and finally waiting for Azure devops course which will be golden gifted

  • @ph.delbarre2329
    @ph.delbarre2329 3 หลายเดือนก่อน

    thank you Nana for your traininings really easy to appropriate. I drink every teachning.
    😃

  • @badeggJbetter
    @badeggJbetter 10 หลายเดือนก่อน

    Thank You Nana, it was really clear and I learned a lot

  • @olorundareagnes934
    @olorundareagnes934 11 หลายเดือนก่อน +1

    Insightful content, as usual. Thanks once again...

  • @NadirAli-ri7jb
    @NadirAli-ri7jb 10 หลายเดือนก่อน

    Just love you. You really know how to teach.❤❤❤❤

  • @HolgerH1967
    @HolgerH1967 10 หลายเดือนก่อน +1

    Well done, thank you very much!

  • @nadunsamarasinghe5592
    @nadunsamarasinghe5592 9 หลายเดือนก่อน

    Explanation is great and more helpful to grab more insights' of the platform. Thanks.

  • @Tarabass
    @Tarabass 20 วันที่ผ่านมา

    @17:53 You don't have a clean state. The volumes and images are still there ;)
    I really love this tutorial and your style of teaching us. It was very helpful, thank you :)

  • @letspasstime
    @letspasstime 7 หลายเดือนก่อน

    Very neat & clean explanation.... Thanks for the video👍

  • @silenthill47
    @silenthill47 11 หลายเดือนก่อน +1

    Very informative. Thank you!

  • @mustafahere01
    @mustafahere01 11 หลายเดือนก่อน +2

    Hi,
    Shouldn't we use *env_file* key and pass our *.env* file?

  • @arantebw
    @arantebw 7 หลายเดือนก่อน

    Thank you so much ❤ Keep creating amazing content.

  • @BiswajitPaul01
    @BiswajitPaul01 10 หลายเดือนก่อน

    Straight to the point notes.

  • @PrakashWalkoli
    @PrakashWalkoli 11 หลายเดือนก่อน +1

    Thank you so much, great stuff 😊

  • @KIHUNKIM-d9x
    @KIHUNKIM-d9x 5 หลายเดือนก่อน

    Thanks! I knew what the k8s before watching the video but didn't know what docker compose was.. then basically small-scale vs large-scale? Do you recommend studying more k8s than docker compose if they're the similar concepts? I'm not sure if docker compose is widely used in production as much as k8s

  • @adeelrana1
    @adeelrana1 10 หลายเดือนก่อน

    I would like to hear from you about podman and kind. It would be great to see your insight on this tech. Thank you so much for your effort.

  • @DNTgrowth
    @DNTgrowth 11 หลายเดือนก่อน +1

    Docker secrets only work with docker swarm and docker stacks. So the compose file has to be “adapted” to v3 docker swarm. And that is a problem when u have a complex docker compose file :(
    Btw, if I am using mozila sops service inside the compose file: how can I assign the value of the decrypted credentials, so the next Service can use those credentials? Pls

  • @VasylKomarnytskyi
    @VasylKomarnytskyi หลายเดือนก่อน

    Thanks for the interesting and informative video. This is a good introduction to Docker Сompose.

  • @dffhhfhdifh
    @dffhhfhdifh 8 หลายเดือนก่อน

    Thankyou so much.super clear each concept😊🤗

  • @mykun8737
    @mykun8737 11 หลายเดือนก่อน +3

    Nana, After watching the Docker crash course video, you became my idol. Could you release a new Kubernetes crash course video in 2024? I really want to learn Kubernetes at this time.

    • @TechWorldwithNana
      @TechWorldwithNana  11 หลายเดือนก่อน +2

      You can watch the existing Kubernetes 1-hour crash course, it's still relevant 👍

  • @microtech2448
    @microtech2448 6 หลายเดือนก่อน

    Hello, thanks for the video. Can multiple services run in a single container?

  • @timgraf7933
    @timgraf7933 11 หลายเดือนก่อน

    Thank you Nana for this great tutorial.

  • @Dude-l3i
    @Dude-l3i 10 หลายเดือนก่อน

    Thx for a very well structured and insightful tutorial - thx.
    One question though regarding "Use image from private repository".
    How will docker know which private registry to use when pulling an image if the docker compose file contains multiple images from multiple private repos say ghcr and docker-hub and no logins have been provided?

  • @Ketaksingh-l3q
    @Ketaksingh-l3q 10 หลายเดือนก่อน +1

    Thanks for this tutorial. So can any anyone suggest me how can I duplicate multiple instances of this application with separate db for each application running on unique port number

  • @rktho2020
    @rktho2020 10 หลายเดือนก่อน

    I want it job im civil enginner but idont have that musch experience in about sotware witch one is best to me im change field nana im realy watch yours self are you devop enginner how to get

  • @pradipgarala
    @pradipgarala 11 หลายเดือนก่อน +4

    @TechWorldwithNana, docker password is visible 53:44.
    please change your password

    • @TechWorldwithNana
      @TechWorldwithNana  11 หลายเดือนก่อน +2

      Thanks for your comment, already updated 👍

    • @pradipgarala
      @pradipgarala 11 หลายเดือนก่อน

      but I was able to login with your password.
      @@TechWorldwithNana

  • @chrisogonas
    @chrisogonas 9 หลายเดือนก่อน

    Awesome! That was tremendously helpful. Thanks

  • @vicky7664
    @vicky7664 9 หลายเดือนก่อน

    I was following your Docker Tutorial for Beginners [FULL COURSE in 3 Hours] and I got some questions:-
    1. I'm running this NodeJs app on an AWS EC2 instance. How do I get the Public IP address of my instance in the index.html and server.js file automatically cuz every time I start the instance the IP address gets changed.
    2. How do I get the Public IP in the container.

  • @kumarsathish9725
    @kumarsathish9725 5 หลายเดือนก่อน

    Awesome course....Thank you Nana....

  • @RetiredVet1
    @RetiredVet1 8 หลายเดือนก่อน

    Nice video Nana. How about replacing the environment variables with secrets stored in files. Docker documentation is confusing. I will figure it out eventually, but I don’t have a lot of experience and I thought it might make a good video.

  • @ClementDERYCKX
    @ClementDERYCKX 8 หลายเดือนก่อน

    A very big Thank You for your kind and helpfull work

  • @shambhunathsahani6505
    @shambhunathsahani6505 7 หลายเดือนก่อน

    Thank you great deep high-level explained