Docker Tutorial for Beginners
mCoding
@mcodingAbout
Latest Posts
Video Description
Docker Tutorial for Beginners teaching you everything you need to know to get started. This video is sponsored by Docker. https://www.docker.com/ Whether you're a student or a professional, let's learn the fundamentals of Docker by example, from start to finish in an easily understandable way, using hands-on demos and code examples along with explanations detailing the important points. By the end of this tutorial, you will understand the basics of Docker, including what Docker is and what problems it solves, what's the difference between containers and virtual machines, how to install Docker, what's the difference between containers and images, how to pull images and run, run containers with environmental variables, arguments, and mapped ports, how to reduce Docker image size using slim and Alpine images, how to persist data in volumes and bind-mounts and understand the difference between volumes vs bind-mounts, how to build your own custom images using Dockerfiles and understand Docker layers, how to create multistage builds, how to use Docker compose to manage multiple containers, how to publish Docker images to Docker Hub, and some advice on deploying Docker containers in the cloud. Throughout the course we will create a fully functioning containerized app with an NGINX frontend, Python FastAPI backend, and MongoDB database. ― mCoding with James Murphy (https://mcoding.io) Docker: https://www.docker.com/ Dockerfile reference: https://docs.docker.com/reference/dockerfile/ Compose file reference: https://docs.docker.com/compose/compose-file/ Docker Hub: https://hub.docker.com/ Source code: https://github.com/mCodingLLC/VideosSampleCode SUPPORT ME ⭐ --------------------------------------------------- Sign up on Patreon to get your donor role and early access to videos! https://patreon.com/mCoding Feeling generous but don't have a Patreon? Donate via PayPal! (No sign up needed.) https://www.paypal.com/donate/?hosted_button_id=VJY5SLZ8BJHEE Want to donate crypto? Check out the rest of my supported donations on my website! https://mcoding.io/donate Top patrons and donors: Laura M, Neel R, Dragos C, Jameson, Matt R, Pi, Vahnekie, Johan A, Mark M, Mutual Information BE ACTIVE IN MY COMMUNITY 😄 --------------------------------------------------- Discord: https://discord.gg/Ye9yJtZQuN Github: https://github.com/mCodingLLC/ Reddit: https://www.reddit.com/r/mCoding/ Facebook: https://www.facebook.com/james.mcoding CHAPTERS --------------------------------------------------- 0:00 Intro 1:24 What is Docker and Why? 3:21 Docker containers vs Virtual Machines 4:17 Installing Docker, Docker Desktop 6:21 Docker hello world 7:17 Docker containers vs images 8:35 Port mapping Docker containers 10:00 Run Docker container in background 11:29 Docker tags and digests 13:33 Running with env vars and args 14:28 Slim images and Alpine images 16:04 Debugging running Docker containers 17:16 Persistence with Docker volumes and bind-mounts 22:25 Custom Docker images, Dockerfiles, frontend NGINX 26:06 Docker layers 29:01 Custom Docker images, backend Python FastAPI 33:40 Docker multistage builds 36:39 Docker compose 39:53 More compose, adding a MongoDB database 45:09 More compose, adding mongo express to explore the db 46:58 How to publish Docker image to Docker Hub 49:34 Deploying Docker containers in the cloud 50:23 Thanks
You May Also Like
Docker Mastery Starter Kit
AI-recommended products based on this video

TRAUSI HD Webcam with Microphone, Noise Cancellation, Privacy Cover, Wide-Angle Lens, Auto Light Correction, Plug & Play USB Webcam for Laptop, Desktop, PC, Mac, Zoom, Skype, Streaming (1080P, Black)

TRAUSI 1080P HD Webcam with Microphone, Noise Cancellation, Privacy Cover, Wide-Angle Lens, Auto Light Correction, Plug & Play USB Webcam for Laptop, Desktop, PC, Mac, Zoom, Skype, Streaming Black

10Gtek USB WiFi Adapter, for PC, AC600M USB WiFi Dongle 802.11ac Wireless Network Adapter with Dual Band 2.4GHz/5Ghz for Desktop Laptop Support Windows 10/8/7/XP, MAC OS, Linux etc

1300Mbps Wireless WiFi Adapter, USB3.0 WiFi Dongle 2.4G/5G 802.11AC Network Adapter Receiver with High Gain Antenna for Desktop Laptop PC, Support Windows 11/10/8/8.1/7/Vista/XP, Mac 10.6-10.15

BOSGAME Linux Mini PC, Intel 12th N100 16GB DDR4 RAM 512GB SSD Linux Server Computers Preinstalled Ubuntu 22.04,Support 4K Triple Display/USB3.2/WiFi 5/2.5GbE

MT7601 USB Adapter USB Antenna, Computer Adapter USB Adapter with Integrated Antenna for Windows Desktop Laptop

BrosTrend 1200Mbps USB WiFi Adapter for Windows 11/10/8/7/XP of PC Desktop Laptop, Dual Band 5GHz 867Mbps, 2.4GHz 300Mbps, USB 3.0, Network Card WLAN

BrosTrend AX300 WiFi 6 USB WiFi Adapter for PC, Nano Size WiFi Dongle for Laptop Desktop, USB Wireless Adapter for Windows 11/10/7, 2.4GHz Only, 286Mbps, Wireless Network Adapter, OFDMA (NOT for MAC)

AC600 Nano USB WiFi Adapter for Desktop PC/Laptop, Dual-Band (5GHz, 2.4GHz) Wireless 802.11ac MU-MIMO Network Adapter for Windows & Mac OS, Mini Travel Size WiFi Dongle

Digital Alarm Clock for Bedroom, Easy Setup Electronic Dual Alarm Clock with Large Numbers, Power-Off Memory Adjustable Brightness Bedside Clock with 5 Alarm Modes, 12/24H Display for Home, Office



















