Video: LXC, from Start to Finish

Submitted by Scott Dowdle on Fri, 09/08/2017 - 21:14

LXC is a native form of containers available in the mainline Linux kernel for several years now.  Unlike Docker, LXC provides a full "system" container and can even be used for GUI desktop environments.

In this video I show how to install and setup LXC on a Fedora 26 host as well as how to create your first container (also Fedora 26) which is very minimal... and how to build it up via package manager to a complete GUI container including video and audio playback accessed via the x2go remoting protocol that runs over ssh.

I have also made GUI containers of other distributions including CentOS 7, Ubuntu 16.04, Debian 9, and OpenSUSE 42.3... using the pre-made OS Templates shown listed in the video... using their native packages managers, mostly the same packages, and all running systemd and accessible via x2go.

Screencast recorded under Fedora 26 with simplescreenrecorder from the rpmfusion repository.

I did make a few minor mistakes and typos along the way, but making mistakes is how we learn, right?

Higher resolution / quality downloadable version:
lxc-start-to-finish-20170908.webm (34m:19s, 196MB)