How to run graphics-accelerated GUI apps in LXD containers on your Ubuntu desktop

Update December 2019: See updated post Running X11 software in LXD containers¬† which uses LXD proxy devices and is easier to setup. Update June 2018: See updated post How to easily run graphics-accelerated GUI apps in LXD containers on your Ubuntu desktop¬† which describes how to use LXD profiles to simplify the creation of containers … Continue reading How to run graphics-accelerated GUI apps in LXD containers on your Ubuntu desktop