From 761ea8fef88907ff0147d08b70906052e13bcd78 Mon Sep 17 00:00:00 2001 From: Mike Conrad Date: Thu, 19 Jun 2025 13:05:44 -0400 Subject: [PATCH] Simplify slides --- slides/slides.md | 62 ++++++++++++++---------------------------------- 1 file changed, 18 insertions(+), 44 deletions(-) diff --git a/slides/slides.md b/slides/slides.md index 655a395..05e5f0c 100644 --- a/slides/slides.md +++ b/slides/slides.md @@ -5,15 +5,13 @@ theme: seriph # like them? see https://unsplash.com/collections/94734566/slidev background: https://cover.sli.dev # some information about your slides (markdown enabled) -title: Welcome to Slidev +title: Demystifying Docker - SCS 2025 info: | - ## Slidev Starter Template - Presentation slides for developers. + ## The basics of containerization and beyond by Mike Conrad + Scenic City Summit 2025 - Learn more at [Sli.dev](https://sli.dev) -# apply unocss classes to the current slide + Learn more at [Hackanooga](https://hackanooga.com/scs) class: text-center -# https://sli.dev/features/drawing drawings: persist: false # slide transition: https://sli.dev/guide/animations.html#slide-transitions @@ -112,21 +110,6 @@ image: ./images/pexels-joshsorenson-1714208.jpg - [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) - [Container Tools](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-containers) - - ---- -transition: fade-out -layout: center ---- - -## Common Use cases for containers -- Reproducible dev environments -- Testing in CI/CD environments -- Better "Portability" of application code -- Snapshot of application code at specific point in time - - - --- transition: fade-out layout: center @@ -150,13 +133,13 @@ layout: center ## Containers vs Virtual Machines -| Feature | VM | Container | -|------------------|----------------|------------------| -| Boot time | Minutes | Seconds | -| Resource usage | Heavy | Lightweight | -| Isolation | Strong | Process-level | -| Portability | Medium | Very High | - +| Feature | VMs | Containers | +|------------------|-----------------------|------------------------------| +| Boot time | Minutes | Seconds | +| Resource usage | Heavy | Lightweight | +| Isolation | Strong | Process-level | +| Portability | Medium | Very High | +| Operating System | Needs full OS install | Uses host OS/kernel features | In reality we use containers and vm's together. Containers run inside of VM's for better security and isolation, especially in cloud and multi tenant environments. --- @@ -166,26 +149,17 @@ layout: center ## What is Docker? +- A tool to build and run containers - Written in GO - Uses Client/Server model with REST API (`docker cli` and `dockerd`) - Eco system of tools (Compose, Swarm, etc) - Public Image Registry (Dockerhub) - Docker client typically runs on same machine as server but doesn't have to - ---- -transition: fade-out -layout: center ---- -## What is Docker? - -- A tool to build and run containers -- Containers are exclusive to Linux -- Docker engine runs containers using Linux features like: - - Namespaces - - cgroups - - Union file systems -- Container runs from an image layered with base image and application code - +- Uses Linux kernal features like: + - Namespaces + - cgroups + - Union file systems +- Containers are just processes --- transition: fade-out layout: center @@ -231,7 +205,7 @@ layout: two-cols-header - Created/managed by user. - Files from host mounted directly into container. - Container processes can modify files on host system. -- Bind mounts are strongly tied to the host. +- Strongly tied to the host. - Best for things like dev containers. ::right::