Skip to content

PRO TIP Block youtube.com at the DNS level โ€” Pi-hole, NextDNS or your hosts file โ€” but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Deploy with Docker – Step-by-step Tutorial

54.8K views on YouTube

Web Dev Roadmap for Beginners (Free!): https://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 โžœ https://patreon.com/davegray

โญ Become a full-stack web dev with Zero To Mastery Courses:
– Complete Next.js Developer: https://bit.ly/CompNextJSDev
– Advanced React: https://bit.ly/AdvReactDev
– Junior to Senior Dev Roadmap: https://bit.ly/WebDevRoadmap-JrtoSr

๐Ÿšฉ Subscribe โžœ https://bit.ly/3nGHmNn

๐Ÿ“ฌ Course Updates โžœ https://courses.davegray.codes/

โ“ Questions – Please post them to my Discord โžœ https://discord.gg/neKghyefqh

โ˜• Buy Me A Coffee โžœ https://www.buymeacoffee.com/davegray

๐Ÿ”— Source Code Example: https://github.com/gitdagray/php-apache-docker

๐Ÿ‘‡ Follow Me On Social Media:
GitHub: https://github.com/gitdagray
Twitter: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/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: https://hub.docker.com/_/php
๐Ÿ”— Render.com: https://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