Docker FULL Course: Containers, Databases, Compose & Beyond!

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ • 55

  • @aniketjoshi1610
    @aniketjoshi1610 11 місяців тому +10

    Rayan courses probably has the most organized content I have ever seen.

  • @wistoncastaneda3703
    @wistoncastaneda3703 11 місяців тому +8

    Thanks to this man, I got my first job as a backend developer, and I am eternally grateful

    • @RayanSlim087
      @RayanSlim087  11 місяців тому +2

      Congratulations Wiston. I hope you find tremendous success in your new job. I am sure that soon you will surpass me 🙏.

  • @Cl0udhack_ssh
    @Cl0udhack_ssh 24 дні тому +1

    Bro the epic fading out walk away has me cracking up! Great tutroial man keep up the good work!

  • @aewin3553
    @aewin3553 Місяць тому +1

    I came to watch this course after completing your Udemy Spring Boot course. Your content here is even more organized and explained in layman’s terms. Keep rocking!

  • @crackrokmccaib
    @crackrokmccaib 10 місяців тому +1

    Between this and your Udemy Spring Boot course, I learned that you are a LEGEND! I wish there was someone like you who made an ASPdotNET web API course that was as good as your Spring Boot course. Every one that exists doesn't stand up to what you've done. Thank you so much for everything you've given us. I see in the comments others feel the same way. I wish there were more like you, but unfortunately, there is only one Rayan Slim. Keep being you buddy.

    • @RayanSlim087
      @RayanSlim087  10 місяців тому +1

      Thank you for the kind words my friend ♥

  • @elisesarmiento5066
    @elisesarmiento5066 11 місяців тому +3

    Thank you, Rayan. You are absolutely right that students today are overwhelmed with their studies. But we just keep on truckin, right? Your info on Docker is very timely, indeed. But this field is moving at lightening speed, and we need to stay on top of things. Thanks so very much!!

  • @maaziy_ghaziyIYI
    @maaziy_ghaziyIYI 11 місяців тому +2

    So this is the face of the teacher who taught me Java and Spring-Boot. Good to see you sir. I like your teaching style from your voice to your slides to your clear explanations of complex topics, Masha Allah. Thank you for your Udemy courses. And thank you for this course as well. Delivered with clarity as expected 👍👍

  • @alan-overthenet
    @alan-overthenet 11 місяців тому +2

    Much appreciated Rayan. I've been meaning to learn Docker for ages. I have your Java course and really like your teaching style, so I am looking forward to following this.
    Thanks again

  • @isaacafedzi3368
    @isaacafedzi3368 Місяць тому +1

    I wish you are a data engineer so I would follow all your videos... Kindly do a video on apache airflow

  • @EnjoyCybersecurity-jb6kd
    @EnjoyCybersecurity-jb6kd 11 місяців тому +2

    The best teacher and #asmr voice 🤤

  • @RapGroove
    @RapGroove Місяць тому +1

    Thank you Ryan !!! This is the best ever lecture i found in internet for the Docker So far. :-)

  • @adnanabdulkader1258
    @adnanabdulkader1258 11 місяців тому +1

    This was amazing, thanks a bunch..very clear and orginized

  • @RolandRoosevelt
    @RolandRoosevelt 2 місяці тому

    You helped me understand Docker so well. Your teaching is amazing. Thank you.

  • @KishanRaj-yq2wq
    @KishanRaj-yq2wq 11 місяців тому +2

    Legend is back❤❤

  • @jamesr2408
    @jamesr2408 11 місяців тому

    Long time student and fan. Will give this a spin.

    • @RayanSlim087
      @RayanSlim087  11 місяців тому

      It’s great to hear from you again, James!

    • @jamesr2408
      @jamesr2408 11 місяців тому

      @@RayanSlim087 Thanks Ryan,. After Java, I have passed through the PHP world, and am now in the heart of React JS trying my hand at web app development. Great to see you expand your horizon. Cheers.

  • @cdexzswzaqME
    @cdexzswzaqME 11 місяців тому +1

    Well organised and well taught

  • @thabangligavha9643
    @thabangligavha9643 11 місяців тому

    I honestly enjoy your courses, they I so organised, even an absolute beginner with prior coding experience can easily grab and understand all your lessons because of the way you teach and how well you explain thing, not to forget how well you break down each lesson in a way that anyone can easily digest the information. Thank you for your amazing lessons, especially the Complete Java Bootcamp on Udemy, I really appreciate you time and effort you took when preparing for each and every lesson

    • @RayanSlim087
      @RayanSlim087  11 місяців тому

      Thank you so much for the kind words ❤

  • @m.h4520
    @m.h4520 11 місяців тому +1

    This is very informative and easy to watch, thank youu!!

  • @bovineox1111
    @bovineox1111 3 місяці тому +1

    Also, maybe I missed this (or the author did) but you need to be authenictaed with your registry using docker login and follow the instructions

  • @MrYyope15555
    @MrYyope15555 5 місяців тому

    Super proficient ! Thank you so much Rayan

  • @mehmath
    @mehmath Місяць тому

    Highly explanatory!

  • @f68886
    @f68886 11 місяців тому +2

    Your sound so familiar, and then I relized you the Udemy Springboot guy!!!

  • @ozzman530
    @ozzman530 11 місяців тому +1

    Chapter3 running the command on windows machine yielded an error. I converted the slash marks as described but getting an "exec format error" while using the rest of the command exactly as described. Further attempts appear to increase the number of container IDs needing to be removed per the end of chapter cleanup.

    • @RayanSlim087
      @RayanSlim087  11 місяців тому

      Hey, feel free to copy your command here in the comments section. I can have a look,

    • @ozzman530
      @ozzman530 11 місяців тому

      @@RayanSlim087 I think i found it, missing the second reference to /src/app

  • @negareyvazi
    @negareyvazi 3 місяці тому

    Hi python:3.8-slim does no longer exist in the hub. I used 3.9-slim instead. is that okay?

  • @bryanhor8251
    @bryanhor8251 8 місяців тому

    What if I intend to run my docker containers in different operating systems (like Windows and Linux), how should I configure the persistent storage for the containers in this case, as the file paths would be different?

  • @bovineox1111
    @bovineox1111 3 місяці тому

    Okay, I was on windows and it was important to specfiy which drive in the format ///
    i.e. docker run -v //d/containers-crash-course/lessons/01-starter-code:/src/app -w /src/app python:3.8-slim python python-app.py
    Note I set the working directry with -w but this shouldn't be necessary. Before when I didn't have //d/ set, even though my powershell terminal was on d it just did not work and kept saying file not found...

  • @abdelghafourelmarzougui335
    @abdelghafourelmarzougui335 Місяць тому

    Woow best crash course

  • @cdexzswzaqME
    @cdexzswzaqME 11 місяців тому +1

    but in connecting to mysql database why it works without specifying a port with the network.

    • @RayanSlim087
      @RayanSlim087  11 місяців тому

      Good question! For two containers to communicate, one of two criteria needs to be met: They either need to be on the same Docker network, or they must have explicit port mappings that allow external connections.
      In Chapter 8, the containers are running in isolated networks. Therefore, you cannot omit the port mapping for the MySQL container. The Flask application needs to know how to reach the MySQL database. By setting DATABASE_HOST=host.docker.internal, we intend for the Flask Docker container to access the host machine's network stack.
      In Chapter 9, the containers are running in the same network (within the same Docker Compose environment). Therefore, omitting the port mapping for the MySQL container should be fine.

  • @crackrokmccaib
    @crackrokmccaib 10 місяців тому

    In section 8, I still see failed to connect to db in flask app. I have MySQL installed locally from 2 years ago running on 3306. When running the container with the mysql-server:8.0 image, i set the port to -p 3306:3306, but the port is in use which I get. I tried 3307:3306 and the container runs fine, but the flask app still doesn't connect. In running the flask app, I tried host.docker.internal and host.docker.internal:3307, but still can't make the connection. Is there something I'm missing? The flask container runs, the mysql container runs, but the connection is not being made. Is the flask app still trying to connect to the local instance of MySQL rather than the running container?

    • @crackrokmccaib
      @crackrokmccaib 10 місяців тому

      It works in chapter 9 with yaml. My guess is instead of using host.docker.internal, I could use the name of the container running the mysql image. I'll try that later.

    • @RayanSlim087
      @RayanSlim087  10 місяців тому

      Hey, that’s pretty strange. Have you tried removing the MySQL server that is locally installed? Also does this still happen when you run both of them within the same docker compose environment (next chapter)?
      Edit: nvm just saw the reply. At least it worked with docker compose. I’m not too certain why the connection isn’t being made with the run commands. Feel free to paste them here if you’d like.

    • @crackrokmccaib
      @crackrokmccaib 10 місяців тому

      @@RayanSlim087 docker run -p 8000:3000 -e DATABASE_HOST=host.docker.internal -e DATABASE_USER=user -e DATABASE_PASSWORD=password -e DATABASE_NAME=db flask-mysql:latest
      docker run -p 3307:3306 -e MYSQL_DATABASE=db -e MYSQL_USER=user -e MYSQL_PASSWORD=password mysql/mysql-server:8.0
      I tried running the mysql container first. Then, for running the flask container, I tried DATABASE_HOST=interesting_perlman (name of mysql container) instead of DATABASE_HOST=host.docker.internal
      I think the flask app still points to the local MySQL server instead of the container. Oh well. On to the practice workbooks. It's Java time!

  • @aquibmir
    @aquibmir 25 днів тому +1

    Nicely presented. I came to this video from your Kubernetes Zero to Cloud course on Udemy. That's a good one too. However, you are not responding to questions I posted in the course, and that's very disappointing.

    • @RayanSlim087
      @RayanSlim087  23 дні тому

      Sorry my friend, just busy times

    • @aquibmir
      @aquibmir 13 днів тому

      @@RayanSlim087 I am still waiting for your answer to my questions in the Kubernetes course.

    • @RayanSlim087
      @RayanSlim087  13 днів тому

      @@aquibmir just ask me here, i don't have the cycles right now to go through the udemy Q&A

  • @ramkrsn99
    @ramkrsn99 11 місяців тому +2

    hey awesome - how about including a certificate at the end of this - would really help - I am your student at Udemy though. so which course would you suggest for a docket certi at udemy

    • @RayanSlim087
      @RayanSlim087  11 місяців тому

      Hey! This course isn't affiliated with Udemy, so unfortunately I cannot provide a certificate by the end of it.

  • @bovineox1111
    @bovineox1111 3 місяці тому

    can also so 'docker inspect --format='{{.Config.ExposedPorts}}' ' to find ports though it's a bit verbose