Please Contain Me: Practical LXC on the Desktop

  Рет қаралды 3,246

LinuxConfAu 2018 - Sydney, Australia

LinuxConfAu 2018 - Sydney, Australia

Күн бұрын

Florian Haas
lca2018.linux.org.au/schedule/...
So you're running a Linux desktop, and it's getting cluttered. There's that weird library you installed ages ago that messes up your package dependencies every upgrade, proprietary software that was last updated for the Ubuntu version you ran three years ago, and then of course you also need a bunch of Python, Go, and Ruby dev environments that all come with their own package managers. Wouldn't it be nice to have a cleaner, saner, more compartmentalised setup?
Enter LXC.
LXC is the underrated wallflower of Linux container runtimes. It's been around for longer than just about everything else, it's stable, it has a decent userland, and it comes with neat features that make it saner and more secure than its contenders - but very few people use it to its full potential.
In this tutorial, I'll show you how to run an arbitrary number of LXC containers on your desktop, all configured with Ansible so that whenever a container starts to look even remotely off, you can just throw it away and start over in minutes. You'll learn how to run unprivileged containers under your own user context, use a shared /home directory across all your containers (and make it work), run containerized X applications that talk to your host X and sound server, and selectively make host resources (such as a webcam, or USB printer) available in your container. I've been using this approach on my own Ubuntu desktop for a couple of years, on a daily basis.
To make the most of this tutorial, please come with a desktop that already has LXC and a current version of Ansible installed.
This talk was given at Linux.conf.au 2018 (LCA2018) which was held on 22-26 January 2018 in Sydney Australia.
linux.conf.au is a conference about the Linux operating system, and all aspects of the thriving ecosystem of Free and Open Source Software that has grown up around it. Run since 1999, in a different Australian or New Zealand city each year, by a team of local volunteers, LCA invites more than 500 people to learn from the people who shape the future of Open Source. For more information on the conference see linux.conf.au/
#linux.conf.au #linux #foss #opensource

Пікірлер: 1
@RafaelHaak
@RafaelHaak 6 жыл бұрын
ohhh boy! I am running 2441 packages
The Web Is Dead! Long Live The Web!
42:08
LinuxConfAu 2018 - Sydney, Australia
Рет қаралды 567
micro-Linux init (PID1) in Golang
44:27
LinuxConfAu 2018 - Sydney, Australia
Рет қаралды 1,5 М.
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 58 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 25 МЛН
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 63 МЛН
Inkscape for absolute beginners
38:50
LinuxConfAu 2018 - Sydney, Australia
Рет қаралды 32 М.
Remote Work: My first decade working from the far end of the earth
47:15
LinuxConfAu 2018 - Sydney, Australia
Рет қаралды 2 М.
Mass Production: Open-source Testing in Manufacturing
45:32
LinuxConfAu 2018 - Sydney, Australia
Рет қаралды 2,7 М.
PopOS is SPECIAL, and I'm moving to it, here's why!
20:15
The Linux Experiment
Рет қаралды 399 М.
Linus Torvalds on why desktop Linux sucks
11:07
gentooman
Рет қаралды 1,1 МЛН
Emulating 1wire and creating new devices and drivers
24:19
LinuxConfAu 2018 - Sydney, Australia
Рет қаралды 400
Qubes OS - First Impressions
22:46
Mental Outlaw
Рет қаралды 274 М.
Linux Audio Explained (ALSA vs PulseAudio vs JACK vs Pipewire Explained)
18:52
Linux New User Guide: 10 Things I Wish I Knew
23:31
Learn Linux TV
Рет қаралды 432 М.
Lightning talks
49:52
LinuxConfAu 2018 - Sydney, Australia
Рет қаралды 895
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 58 МЛН