Docker Tutorial for Beginners

preview_player
Показать описание
Docker Tutorial for Beginners teaching you everything you need to know to get started.

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.

SUPPORT ME ⭐
---------------------------------------------------
Sign up on Patreon to get your donor role and early access to videos!

Feeling generous but don't have a Patreon? Donate via PayPal! (No sign up needed.)

Want to donate crypto? Check out the rest of my supported donations on my website!

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 😄
---------------------------------------------------

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
Рекомендации по теме
Комментарии
Автор

James Murphy with the "just what I needed" video once again.

fancypants
Автор

I've always wanted to learn docker but could never get myself to stick to it. Thank you, mCoding!

davidriveros
Автор

Not even the docker website could explain for me what it actually is. You've solved this mystery, thank you.

sharksandbananas
Автор

mCoding is back at it again with another banger that works better than official docs.

AntonioZL
Автор

The best Docker video I could find. Every essential topic for the novice, combined with some tips, and up-to-date material — what more can anyone ask for? Just loved it. Keep them coming!

wrichik_basu
Автор

I've been getting pretty comfortable with Docker the past few months, but this video was really what I needed to fill in the gaps! Love all your stuff.

philosophiabme
Автор

Awesome! And congratulations for the Docker sponsor, that talks a lot about the quality of your channel

gustavojuantorena
Автор

I learnt docker last year but this video is good at checking up my knowledge from self learning docker, now it is all concise for future learner! will definitely send these to colleagues who need to learn this

OrtinFargo
Автор

I use docker every now and then and I often forget key points in it that need to be revised or I need to onboard someone onto something that uses Docker, and seeing you upload this video gave me some sense of relief because I know it will be high quality, thanks!

markzuckerbread
Автор

Excellent tutorial! One of the best I've seen in a while.

cyberhard
Автор

I've been watching Docker tutorials every now and then since last year (maybe even the year before that), but only now am I starting to dockerize my own applications haha. It's such a convenient tool.

Right now with my limited understanding, I use compose for local development, and Dockerfiles for deployment

re.liable
Автор

Docker swarm or Kubernetes next please.

CulturedSkate
Автор

This goes not only to my "useful dev" playlist, but also straight to my "TOP" playlist.
Superb work :-)

JakubYTb
Автор

Finally i could add 10 years of docker experience by watching your video

kezif
Автор

really great resource, watched it through and will be referring back to this video in the future. thank you for the straightforward, motivated explanations!

Corncycle
Автор

Thanks for that thorough run through. Subscribed.

automatyk_
Автор

I haven't even watched the video yet, but I know it'll be good. I needed to learn Docker soon for work, so thanks for this!

swolekhine
Автор

Really nice and clear video, as usual! Your channel has been my goto to recommend to my colleagues to learn when they need to dive deep into Python topics (and now docker!) :) Thanks for all the content

winypuh
Автор

Great video!
Answering to your demoscript: no, I didn't run it, I executed docker this way: docker run mcodingllc/demoscript:0.0.1 /bin/sh and then used cat to see the contents of run.sh, but good one lol

darske
Автор

I think a demo of bind mounts would've been nice, e.g. for automatically restarting the Python API on code changes. Maybe it is out of scope.

re.liable