Fireship · @fireship
100+ Docker Concepts you Need to Know
Uploaded March 12, 2024 · Length 8:28
Summary
Learn 100+ Docker concepts to understand containerization, virtualization, and scaling infrastructure for software development.
- docker concepts
- containerization
- virtualization
- infrastructure scaling
- software development
- cloud computing
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
welcome to Docker 101 if your goal is to
- 0:02
ship software in the real world one of
- 0:04
the most powerful Concepts to understand
- 0:06
is containerization When developing
- 0:08
locally it solves the age-old problem of
- 0:10
it works on my machine and when
- 0:12
deploying in the cloud it solves the
- 0:13
age-old problem of this architecture
- 0:16
doesn't scale over the next few minutes
- 0:17
we'll unlock the power inside this
- 0:19
container by learning 101 different
- 0:21
concepts and terms related to computer
- 0:23
science the cloud and of course Docker
- 0:25
I'm guessing you know what a computer is
- 0:27
right it's a box that has three
- 0:28
important components in side a CPU for
- 0:31
calculating things random access memory
- 0:33
for the applications you're using right
- 0:35
now and a dis to store things you might
- 0:37
use later this is bare metal hardware
- 0:39
but in order to use it we need an
- 0:41
operating system most importantly the OS
- 0:43
provides a kernel that sits on top of
- 0:45
the bare metal allowing software
- 0:46
applications to run on it in the olden
- 0:48
days you would go to the store and buy
- 0:50
software to physically install it on
- 0:51
your machine but nowadays most software
- 0:53
is delivered via the Internet through
- 0:55
the magic of networking when you watch a
- 0:57
YouTube video your computer is called
- 0:59
the client but you and billions of other
- 1:01
users are getting that data from remote
- 1:03
computers called servers when an app
- 1:04
starts reaching millions of people weird
- 1:06
things begin to happen the CPU becomes
- 1:08
exhausted handling all the incoming
- 1:10
requests disio slows down Network
- 1:12
bandwidth gets maxed out and the
- 1:14
database becomes too large too query
- 1:16
effectively on top of that you wrote
- 1:17
some garbage code that's causing race
- 1:19
conditions memory leaks and unhandled
- 1:21
errors that will eventually grind your
- 1:23
server to a halt the big question is how
- 1:25
do we scale our infrastructure a server
- 1:27
can scale up in two ways vertically or
- 1:29
horizont ially to scale vertically you
- 1:31
take your one server and increase its
- 1:33
RAM and CPU this can take you pretty far
- 1:36
but eventually you hit a ceiling the
- 1:37
other option is to scale horizontally
- 1:39
where you distribute your code to
- 1:41
multiple smaller servers which are often
- 1:43
broken down into microservices that can
- 1:45
run and scale independently but
- 1:47
distributed systems like this aren't
- 1:48
very practical when talking about bare
- 1:50
metal because actual resource allocation
- 1:52
varies One Way Engineers address this is
- 1:54
with virtual machines using tools like
- 1:56
hypervisor it can isolate and run
- 1:58
multiple operating system systems on a


