Deploy with Docker - Step-by-step Tutorial

Sdílet
Vložit
  • čas přidán 1. 06. 2024
  • Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
    You can deploy with docker for free when you follow this step-by-step tutorial. Too many services have removed their free tiers for students and hobby projects. This tutorial deploys a Docker container.
    💖 Support me on Patreon ➜ / davegray
    ⭐ Become a full-stack web dev with Zero To Mastery Courses:
    - Complete Next.js Developer: bit.ly/CompNextJSDev
    - Advanced React: bit.ly/AdvReactDev
    - Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
    🚩 Subscribe ➜ bit.ly/3nGHmNn
    📬 Course Updates ➜ courses.davegray.codes/
    ❓ Questions - Please post them to my Discord ➜ / discord
    ☕ Buy Me A Coffee ➜ www.buymeacoffee.com/davegray
    🔗 Source Code Example: github.com/gitdagray/php-apac...
    🔗 Blog article for this video: www.davegray.codes/posts/how-...
    👇 Follow Me On Social Media:
    GitHub: github.com/gitdagray
    Twitter: / yesdavidgray
    LinkedIn: / davidagray
    Deploy with Docker - Step-by-step Tutorial
    (00:00) Intro
    (00:07) Welcome
    (00:28) Hosting for Student Projects
    (01:05) What is Docker?
    (01:40) Parent Image & Docker Hub
    (03:51) Dockerfile and AI tip
    (05:23) Postgres instead of MySQL
    (05:49) Dockerfile review
    (08:17) docker-compose review
    (10:03) Download & install Docker
    (10:43) Using docker build locally
    (13:39) git repository
    (15:43) GitHub repository
    (16:57) Deploying to Render.com
    📚 Tutorial References:
    🔗 Docker Hub PHP: hub.docker.com/_/php
    🔗 Render.com: render.com/
    Was this tutorial about deploying a Docker container helpful? If so, please share. Let me know your thoughts in the comments.
    #docker #deploy #guide

Komentáře • 59

  • @Fishamble
    @Fishamble Před 2 měsíci +11

    I came to youtube looking for a docker tutorial. This video was just released. Kismet. Thanks Dave.

  • @Peacemaker.404
    @Peacemaker.404 Před 2 měsíci +1

    just the thing i was looking for! I'll try this instead of vercel.

  • @nadgardez4216
    @nadgardez4216 Před 28 dny +1

    Awesome video. Thanks Dave !

  • @bilimlink
    @bilimlink Před 2 měsíci +3

    The timing is amazing, I am looking for this too. Thank you so much ❤

  • @LeonelLopezBorbon
    @LeonelLopezBorbon Před 2 měsíci +1

    Excelente tutorial Docker!!

  • @aswinkumar4452
    @aswinkumar4452 Před 2 měsíci +1

    Thank you Dave for your hardwork, I have been suggesting your channel to my friends since the quality of your videos is top notch 👍🏻

  • @kcell2042
    @kcell2042 Před 2 měsíci +4

    Thank you for your passion for the teaching of knowledge.

  • @anjaneyulub2529
    @anjaneyulub2529 Před 2 měsíci +1

    Thanks Dave feeling excited for new series ❤

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Před 2 měsíci +2

      Thanks - this isn't a series. 😃 Just a one time tutorial. I can do other deployments if there are requests.

  • @mahendranath2504
    @mahendranath2504 Před 2 měsíci +3

    Wow thank you so much for sharing your knowledge

  • @Safaris-Epic-gp4ue
    @Safaris-Epic-gp4ue Před 2 měsíci +3

    Thank You Dave, Sharing this You are such a Nice Person.

  • @7doors847
    @7doors847 Před 2 měsíci

    Superb Dave! Thanks! 💯

  • @MOJICA7257
    @MOJICA7257 Před 2 měsíci

    Thanks Dave!
    Another great tutorial 🎉🎉🎉

  • @schoolWork200
    @schoolWork200 Před 28 dny

    For me, I find it super easy to use my terminal to create repositories using command "gh repo create" instead of creating on github then adding remote. That is of course personal preference and if I remember correctly, requires additional configuration on my Mac which I did long time ago. Great video Dave. Thanks

  • @itwing9312
    @itwing9312 Před 2 měsíci

    so happy to make this , thank you sir and a humble request to add mean stack tutorial also 🙂😊

  • @TravinskiyVladislav
    @TravinskiyVladislav Před 2 měsíci

    Thank you Dave ❤

  • @dev-akeel
    @dev-akeel Před 2 měsíci +2

    🕘 Waiting for the same video in Django playlist 🎉

  • @aghil_shoja
    @aghil_shoja Před 2 měsíci

    Hi Dave, I 've gotten hooked on your tutorials thank you so much and , keep up the good job !
    Do you have any totorials about Git and Github ?

  • @kumargupta7149
    @kumargupta7149 Před 2 měsíci

    Great to learn about Docker ❤

  • @axellovemouele742
    @axellovemouele742 Před měsícem

    Amazing just what i was looking for, since Heroku removed its free plan.
    I hope render won't disappoint me
    Thank you, one more subscriber 😊

  • @johnforeverrules
    @johnforeverrules Před 2 měsíci

    Thanks a lot dave. God bless

  • @abdel-rahmanmostafa5786
    @abdel-rahmanmostafa5786 Před 2 měsíci +2

    Hi Dave
    Could u please explain how to deploy multiple different apps for different usages on sth like raspberry pi or please tell me what to search on
    Thanks Dave!

  • @mdsalahuddin46464
    @mdsalahuddin46464 Před 2 měsíci +1

    Awesome 🔥

  • @danushkap
    @danushkap Před 2 měsíci

    Hi Dave, I'm eagerly waiting for you to start a React Native course ☺

  • @dobingify3130
    @dobingify3130 Před 2 měsíci +1

    You deserve to gain a lot of subs and views

  • @hooooman.
    @hooooman. Před 2 měsíci +1

    Please make tutorial on docker, kubernetes, microservice architecture in nodejs so that we can learn to build large scale application. Only you can teach these advanced topics in a beginner friendly manner

  • @Vincent_12770
    @Vincent_12770 Před 2 měsíci +1

    Dave i've been struggling in learning Golang.... if you don't mind please make a crash course

  • @leojohn6702
    @leojohn6702 Před 2 měsíci

    Amazing. Are you doing a full tutorial with docker?

  • @tusharphb6596
    @tusharphb6596 Před 2 měsíci

    Thanks Dave. Want to know how do we store media files inside vps server and also local database in vps. This would be very helpful for newbees like me. Cloud database and blob store is very expensive

  • @karthikam6395
    @karthikam6395 Před 2 měsíci

    Thank You for considering video suggestions from your discord channel.

  • @rayhanislam7518
    @rayhanislam7518 Před 2 měsíci

    need a guideline with nextjs docker with aws ec2. please. I can do docker in locally but in server I want to know about.

  • @marshallgraphic
    @marshallgraphic Před 2 měsíci

    Are there any images with php, apache, and node available?

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Před 2 měsíci +1

      I didn't look for that. Usually you would choose PHP or Node instead of both. Might see what you can find on the hub.

  • @filon861
    @filon861 Před 2 měsíci

    What vs code theme and monospace font are you using sir?

  • @lajoshufnagel6528
    @lajoshufnagel6528 Před 2 měsíci +1

    How do I do this with MERN stack?

    • @DaveGrayTeachesCode
      @DaveGrayTeachesCode  Před 2 měsíci +1

      My MERN Stack series deploys to Render without Docker. You could with Docker as well. MERN uses Node.js with Express on the server. Too much to explain in one CZcams comment.

    • @dev-akeel
      @dev-akeel Před 2 měsíci

      Wait for the video which is going to come in the Django series. That will give much better idea to use docker for almost every stack.

  • @zainwasem
    @zainwasem Před 2 měsíci

    Bouet achi video hai.
    English ma translate kr k dhak lo kai comment hai.😅

  • @rip182
    @rip182 Před 21 dnem

    subscribe !! yehaw