Simplify slides
This commit is contained in:
@ -5,15 +5,13 @@ theme: seriph
|
|||||||
# like them? see https://unsplash.com/collections/94734566/slidev
|
# like them? see https://unsplash.com/collections/94734566/slidev
|
||||||
background: https://cover.sli.dev
|
background: https://cover.sli.dev
|
||||||
# some information about your slides (markdown enabled)
|
# some information about your slides (markdown enabled)
|
||||||
title: Welcome to Slidev
|
title: Demystifying Docker - SCS 2025
|
||||||
info: |
|
info: |
|
||||||
## Slidev Starter Template
|
## The basics of containerization and beyond by Mike Conrad
|
||||||
Presentation slides for developers.
|
Scenic City Summit 2025
|
||||||
|
|
||||||
Learn more at [Sli.dev](https://sli.dev)
|
Learn more at [Hackanooga](https://hackanooga.com/scs)
|
||||||
# apply unocss classes to the current slide
|
|
||||||
class: text-center
|
class: text-center
|
||||||
# https://sli.dev/features/drawing
|
|
||||||
drawings:
|
drawings:
|
||||||
persist: false
|
persist: false
|
||||||
# slide transition: https://sli.dev/guide/animations.html#slide-transitions
|
# 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)
|
- [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)
|
- [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
|
transition: fade-out
|
||||||
layout: center
|
layout: center
|
||||||
@ -150,13 +133,13 @@ layout: center
|
|||||||
|
|
||||||
## Containers vs Virtual Machines
|
## Containers vs Virtual Machines
|
||||||
|
|
||||||
| Feature | VM | Container |
|
| Feature | VMs | Containers |
|
||||||
|------------------|----------------|------------------|
|
|------------------|-----------------------|------------------------------|
|
||||||
| Boot time | Minutes | Seconds |
|
| Boot time | Minutes | Seconds |
|
||||||
| Resource usage | Heavy | Lightweight |
|
| Resource usage | Heavy | Lightweight |
|
||||||
| Isolation | Strong | Process-level |
|
| Isolation | Strong | Process-level |
|
||||||
| Portability | Medium | Very High |
|
| 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.
|
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?
|
## What is Docker?
|
||||||
|
|
||||||
|
- A tool to build and run containers
|
||||||
- Written in GO
|
- Written in GO
|
||||||
- Uses Client/Server model with REST API (`docker cli` and `dockerd`)
|
- Uses Client/Server model with REST API (`docker cli` and `dockerd`)
|
||||||
- Eco system of tools (Compose, Swarm, etc)
|
- Eco system of tools (Compose, Swarm, etc)
|
||||||
- Public Image Registry (Dockerhub)
|
- Public Image Registry (Dockerhub)
|
||||||
- Docker client typically runs on same machine as server but doesn't have to
|
- Docker client typically runs on same machine as server but doesn't have to
|
||||||
|
- Uses Linux kernal features like:
|
||||||
---
|
- Namespaces
|
||||||
transition: fade-out
|
- cgroups
|
||||||
layout: center
|
- Union file systems
|
||||||
---
|
- Containers are just processes
|
||||||
## 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
|
|
||||||
|
|
||||||
---
|
---
|
||||||
transition: fade-out
|
transition: fade-out
|
||||||
layout: center
|
layout: center
|
||||||
@ -231,7 +205,7 @@ layout: two-cols-header
|
|||||||
- Created/managed by user.
|
- Created/managed by user.
|
||||||
- Files from host mounted directly into container.
|
- Files from host mounted directly into container.
|
||||||
- Container processes can modify files on host system.
|
- 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.
|
- Best for things like dev containers.
|
||||||
|
|
||||||
::right::
|
::right::
|
||||||
|
Reference in New Issue
Block a user