LXC/LXD Containers (LXC)

LXC containers host an entire operating system inside a container, while Docker focuses on a single app per container. This course explains when to choose LXC system containers over Docker, and covers networking, cgroups and practical trade-offs.

Through hands-on labs you will learn LXC management, container creation and startup, and how containers work internally. The course covers filesystems such as lxcfs, ZFS and ext4, basic configuration and an introduction to LXD as a management layer.

THIS TRAINING COURSE WILL HELP YOU:

  • Choose between LXC and Docker for real use cases
  • Create, start and manage LXC containers
  • Configure networking and container filesystems
  • Use LXD for centralized container management

WHO SHOULD ATTEND?

  • Linux system administrators
  • Developers working with Linux containers
  • DevOps engineers managing container infrastructure

COURSE LOCATION AND AVAILABLE DATES

Contact us

Public courses are usually delivered in Czech, but this course is also available in English. We can arrange private training for your team online, at your premises or in our classrooms, and tailor the content to your needs.

For groups of around 4 or more participants, private training can already be comparable in price to booking individual places on a public course. Send us your requirements and we’ll recommend the best format and provide an exact quote.

Request training in English

Course content:

Hide details
  • Introduction – overview of LXC
  • Container background:
    1. How containers are implemented in Linux; brief intro to cgroups
    2. How container networking works; NAT vs bridge and common setups
    3. Limitations of containers compared to full virtualization
  • Installation:
    1. Installing LXC on a system
    2. Configuring networking with lxc-net
  • Working with containers:
    1. How containers are created and what runs behind the scenes
    2. Starting and managing container lifecycle
  • How a container behaves internally:
    1. Running a single application in a container (Docker-style) to illustrate concepts
  • Using filesystems with LXC:
    1. lxcfs
    2. ZFS
    3. ext4
  • Container configuration:
    1. Explanation of container configuration parameters
    2. Mount points for hardware (e.g., USB) and their parallels to Docker
  • LXD:
    1. Overview of using LXD and benefits compared to plain LXC
Prerequisites:
Requires advanced Linux knowledge (developer or administrator).
Schedule:
2 days (9:00-17:00)
Price per person:
472.00 € ( 571.12 € incl. 21% VAT)
Language:
Česky

Training and learning environment