Blog Archives

Run LXD container apps on separate X server

In an earlier post I went through how to create an LXD container that has graphics access through X11 forwarding. This is a simple method but if your goal for using containers is to sandbox applications and decrease the attack

Tagged with: , , , , , ,
Posted in linux

Using audio in LXD containers

Pulseaudio can be used to provide audio support to linux containers. The setup is similar to any other pulseaudio setup over the network. Let’s create a container to play with. lxc launch images:ubuntu/trusty/amd64 pulseaudio lxc exec pulseaudio /bin/bash apt-get install

Tagged with: , , , ,
Posted in linux

Creating an LXD container for graphics applications

Setting up LXD containers for headless applications is pretty straight forward. Using the graphics display doesn’t work out of the box without additional setup. There are different ways to provide graphics access to a container and which one to choose

Tagged with: , , ,
Posted in linux

Encrypting system mail for external email address

Use GPG and postfix to send encrypted mail to external mail address

Tagged with: , ,
Posted in linux

Restrict resources for LXD containers

Restricting resource usage is done with profiles in LXD. There is a default profile that could be modified but it’s wise to create new profiles for specific use cases. Create a new profile: $ lxc profile create single_core Restrict memory

Tagged with: , , , , ,
Posted in linux

Autostarting LXD containers

Use the new autostart feature of LXD 0.16

Tagged with: , , , , ,
Posted in linux

Using Linux containers and LXD

How to use Linux containers to maintain a home server

Tagged with: , , , , ,
Posted in linux