LXC/LXD Deep Dive

Training Architect
course instructor image
Terrence Cox
A veteran of twenty years in Information Technology in a variety of roles. He has worked in development, security and infrastructure well before they merged into what we now call DevOps. He provides training in Linux, VMWare, DevOps (Ansible, Jenkins, etc) as well as containers and AWS topics.

Getting Started With LXC/LXD

Introduction to LXC/LXD

Course Introduction
00:00:46

About the Author

About the Author
00:01:36

LXD vs. Docker

LXD vs. Docker
00:09:06

LXC/LXD: Installation and Configuration

Installing LXC/LXD

Installing LXD
00:15:14
Exercise: Install LXC/LXD
00:30:00

Troubleshooting LXD Installations

Troubleshooting LXD Installations
00:05:02

Launching Your First Container

Launching Your First Container, Part 1
00:09:25
Launching Your First Container, Part 2
00:09:08
Launching Your First Container, Part 3
00:10:36
Exercise: Launching Your First Container
01:00:00
Quiz: LXC/LXD Check Up

LXC/LXD Images

LXC Images

LXC Images Part 1: Remotes
00:07:32
LXC Images Part 2: Publishing, Exporting, and Examining
00:07:37
LXC Images Part 3: Creating From Scratch
00:04:58
Exercise: Using and Creating LXC/LXD Images
00:30:00
Quiz: LXC Images
Quiz: LXC/LXD Basics

LXC/LXD Persistent Storage

Setting up ZFS with LXD

File Backing Stores
00:08:35
Exercise: Using ZFS with LXC
00:30:00
Quiz: LXC Storage Check-up

LXD/LXD Networking

LXC Networking

LXC Networking Part 1: The Basics
00:04:34
LXC Networking Part 2: Under the Hood!
00:04:34
Exercise: Experimenting with LXC Networking
00:30:00
Exercise: Exposing Container Ports
00:30:00

Multi-Host LXD Share a Discreet Layer-2 Network

Advanced Container Networking, Part 1
00:09:46
Advanced Container Networking, Part 2
00:12:54
Quiz: Networking Check Up

Container Use Cases with LXC/LXD

LXC/LXD Challenge Exercises

Introduction to Challenge Exercises
00:00:43

Development Web Cluster

Challenge: Development Web Cluster
00:01:07
Challenge: Development Web Server – My Solution
00:16:57
Exercise: Challenge: Create Proxy to Multiple Web Server Containers
00:30:00

Microservices

Challenge: Deploy a Microservice
00:01:01
Challenge: Deploy a Microservice -- My Solution!
00:09:04
Exercise: Challenge: Deploy a Simple Microservice
00:30:00

Database Replication Testing

Challenge: Database Replication Cluster
00:01:00
Challenge: Database Replication Cluster Solution
00:13:36
Exercise: Challenge: Set up a Test Galera Cluster
00:30:00

Automatic Backup Testing

Challenge: Automatic Backup Testing
00:01:32
Challenge: Automatic Backup Testing Solution
00:03:46
Exercise: Challenge: Set up Automatic Backup Testing
00:30:00
Quiz: LXC/LXD Quiz

Where Do I Go From Here?

Conclusion
00:00:58

Details

"Container" is the new buzzword, but it doesn’t just mean Docker! This course will dive into LXC (LinuX Containers) and its container manager, LXD.  Students will explore how containers work, how they compare with virtual machines and Docker containers, and how they handle application isolation.  Students will get hands-on by installing and configuring containers and thoughtfully selecting a persistent storage strategy.  The course also covers the intricacies of container networking including inter-container communication, managing container networks, and exposing container ports on the host.  For advanced students, several use cases are explored and implemented using this exciting technology.

Study Guides

LXC/LXD Cheat Sheet

A list of commonly used LXC commands and their appropriate usage.

VMs vs. Containers Diagram

Diagram used in the lessons about the differences between Virtual Machines and Containers.

Docker vs. LXD Diagram

DIagram used in the lesson going calling out major differences between Docker and LXD.

Instructor Deck

Community

certificate ribbon icon

Earn a Certificate of Completion

When you complete this course, you’ll receive a certificate of completion as proof of your accomplishment.

Looking For Team Training?

Learn More