add some work to the LXD post

This commit is contained in:
Amolith 2023-08-16 13:34:57 -06:00
parent 1de08d9c91
commit 55d767aa71
Signed by: Amolith
GPG Key ID: 8AE30347CE28D101
1 changed files with 26 additions and 11 deletions

View File

@ -1,27 +1,40 @@
---
title: "LXD: Containers for Human Beings"
subtitle: "Docker's great and all, but I prefer the workflow of interacting with VMs"
date: 2023-06-14T10:50:41-04:00
date: 2023-08-11T16:30:00-04:00
categories:
- Technology
- Technology
tags:
- Sysadmin
- Containers
- VMs
- Docker
- LXD
- Sysadmin
- Containers
- VMs
- Docker
- LXD
draft: true
rss_only: false
cover: ./cover.png
---
This is a blog-post-version of a talk I presented at both Ubuntu Summit 2022 and
This is a blog post version of a talk I presented at both Ubuntu Summit 2022 and
SouthEast LinuxFest 2023. The first was not recorded, but the second was and is
on [SELF's PeerTube instance.][selfpeertube] I apologise for the terrible, but
there's unfortunately nothing I can do about that.
[selfpeertube]: https://peertube.linuxrocks.online/w/hjiTPHVwGz4hy9n3cUL1mq?start=1m
{{< adm type="warn" >}}
**Note:** Canonical has decided to [pull LXD out][lxd] from under the Linux
Containers entity and instead continue development under the Canonical brand.
The majority of the LXD creators and developers have congregated around
[Incus.][inc] I'll be keeping a close eye on the project and intend to migrate
as soon as there's an installable release.
[lxd]: https://linuxcontainers.org/lxd/
[inc]: https://linuxcontainers.org/incus/
{{< /adm >}}
## The benefits of VMs and containers
- **Isolation:** we don't want an attacker to get into our webserver and be able
@ -68,9 +81,9 @@ there's unfortunately nothing I can do about that.
| | Hypervisor | | | .--+---------+---------+---. |
| '--------------+--------------' | | | Host Kernel | |
| .-------------+---------------. | | '--------------------------' |
| | Host Kernel | | '------------------------------'
| | Host Kernel | | '------------------------------'
| '-----------------------------' |
'---------------------------------'
'---------------------------------'
```
## When to use which
@ -81,7 +94,9 @@ there's unfortunately nothing I can do about that.
- Virtualising non-Linux operating systems (Windows, macOS)
- Completely isolating processes from one another with a decades-old, battle-tested technique
> See Drew DeVault's blog post [_In praise of qemu_](https://earl.run/rmBs) for a great use of VMs
{{< adm type="note" >}}
See Drew DeVault's blog post [_In praise of qemu_](https://earl.run/rmBs) for a great use of VMs
{{< /adm >}}
### Application containers