© Senthil Kumaran S. 2017

Senthil Kumaran S., Practical LXC and LXD, https://doi.org/10.1007/978-1-4842-3024-4_3

3. Getting Started with LXC and LXD

Senthil Kumaran S.

(1)Chennai, Tamil Nadu, India

At this point, you should have a working LXC and LXD installation in your host machine. This chapter steps you through the basic usage of LXC and LXD.

Using LXC

LXC is a container within a host machine that runs a full-fledged operating system isolated from the host machine. LXC shares the same kernel as the host machine’s kernel. In order to create different operating system containers we use templates which are scripts to bootstrap specific operating system.

Templates

The templates provided in LXC are scripts specific to an operating system. Each operating ...

Get Practical LXC and LXD: Linux Containers for Virtualization and Orchestration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.