From 7d19dd03c95c6c17d7be658dcff88c49492f7245 Mon Sep 17 00:00:00 2001 From: Caleb Chiam Date: Sat, 23 Oct 2021 01:00:54 -0400 Subject: [PATCH] Update docker-images-without-docker.md Fixed typo. --- lessons/docker-images-without-docker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lessons/docker-images-without-docker.md b/lessons/docker-images-without-docker.md index 6b5601d..bc61fa5 100644 --- a/lessons/docker-images-without-docker.md +++ b/lessons/docker-images-without-docker.md @@ -37,6 +37,6 @@ mount -t tmpfs none /tmp # here's where you'd do all the cgroup rules making with the settings you wanted to ``` -So, this isn't totally it. Docker does a lot more for you than just this like networking, volumes, and other things but suffice to say this core of what Docker is doing for you: creating a new environment that's isolated by namespace and limited by cgroups and chroot'ing you into it. So why did we go through all this ceremony? Well, it's because I want you to understand what Docker is doing for you, know that you _could_ do it by hand but since there's a tool that does for you you don't want to. I hold a strong personal belief that tools people need to understand their tools and what they do for them. Every tool you add to your environment adds complexity but should also add ease. If you don't understand the complexity the tool is solving, you resent it and don't get to fully appreciate nor take advantage of what the tool can fully offer. +So, this isn't totally it. Docker does a lot more for you than just this like networking, volumes, and other things but suffice to say this core of what Docker is doing for you: creating a new environment that's isolated by namespace and limited by cgroups and chroot'ing you into it. So why did we go through all this ceremony? Well, it's because I want you to understand what Docker is doing for you, know that you _could_ do it by hand but since there's a tool that does for you you don't want to. I hold a strong personal belief that people need to understand their tools and what they do for them. Every tool you add to your environment adds complexity but should also add ease. If you don't understand the complexity the tool is solving, you resent it and don't get to fully appreciate nor take advantage of what the tool can fully offer. So how often will you do what we just did? Never. 99% of container-utilizers have no idea this is what's happening under the hood. But now that you know it will make you embrace the complexity that Docker adds because you can see why you have it.