LXC/LXD Deep Dive
About the Author
LXD vs. Docker
Quiz: LXC/LXD Basics
Exercise: Install LXC/LXD
Troubleshooting LXD Installations
Launching Your First Container, Part 1
Launching Your First Container, Part 2
Launching Your First Container, Part 3
Exercise: Launching Your First Container
Quiz: LXC/LXD Check Up
LXC Images Part 1: Remotes
LXC Images Part 2: Publishing, Exporting, and Examining
LXC Images Part 3: Creating From Scratch
Exercise: Using and Creating LXC/LXD Images
Quiz: LXC Images
File Backing Stores
Exercise: Using ZFS with LXC
Quiz: LXC Storage Check-up
LXC Networking Part 1: The Basics
LXC Networking Part 2: Under the Hood!
Exercise: Experimenting with LXC Networking
Exercise: Exposing Container Ports
Advanced Container Networking, Part 1
Advanced Container Networking, Part 2
Quiz: Networking Check Up
Introduction to Challenge Exercises
Challenge: Development Web Cluster
Challenge: Development Web Server – My Solution
Exercise: Challenge: Create Proxy to Multiple Web Server Containers
Challenge: Deploy a Microservice
Challenge: Deploy a Microservice -- My Solution!
Exercise: Challenge: Deploy a Simple Microservice
Challenge: Database Replication Cluster
Challenge: Database Replication Cluster Solution
Exercise: Challenge: Set up a Test Galera Cluster
Challenge: Automatic Backup Testing
Challenge: Automatic Backup Testing Solution
Exercise: Challenge: Set up Automatic Backup Testing
Quiz: LXC/LXD Quiz
"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.
A list of commonly used LXC commands and their appropriate usage.
Diagram used in the lessons about the differences between Virtual Machines and Containers.
DIagram used in the lesson going calling out major differences between Docker and LXD.