Simplify slides

This commit is contained in:
Mike Conrad
2025-06-19 13:05:44 -04:00
parent 94a71d6d77
commit 761ea8fef8

View File

@ -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 |
|------------------|----------------|------------------|
| 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:
- Uses Linux kernal features like:
- Namespaces
- cgroups
- Union file systems
- Container runs from an image layered with base image and application code
- 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::