This book provides a comprehensive step-by-step guide to packaging and running GUI applications as Docker containers.
The book sets the scene with some simple and well-known X11 applications hosted locally, before tackling more advanced topics such as enabling GPU acceleration in containers to support OpenGL, CUDA and OpenCL applications.
The book also covers several less-frequently discussed topics such as remote accelerated rendering via VirtualGL to enable Cloud hosting of high-end GUI applications, D-bus integration, AppArmor, Bluetooth, realtime scheduling, and running full 3D accelerated virtual desktops in containers.
Author(s): Fraser Adams
Year: 2020
Language: English
Pages: 702
Introduction
The Purpose of this Book
What is Docker?
Why Run GUI Applications in Docker?
Docker Basics
Enabling sudo
Installing Docker
Installing Docker on Ubuntu
Installing Docker on Linux Mint
Installing Docker on Debian
Installing Docker on CentOS
Installing Docker on Fedora
The docker Group and sudo
Hello Docker
Container Lifecycle Management
Image Lifecycle Management
Managing Containers with Portainer
Image Optimisation
X11 Overview
X11 Architecture
The X Server
X Clients
The Window Manager
Network and Interprocess Communication
Wayland and Weston
Local Applications
Simple X11 Applications
x11-apps
xterm
GNOME, D-bus and AppArmor
gnome-calculator
gedit
evince
3D Accelerated Applications
Prerequisites
glxgears
glmark
kcalc
gtk3-examples
Adding Audio
PulseAudio
ALSA
JACK
OSS
Scanner Support
simple-scan
Network Scanning and saned
Webcam Support
camorama
Bluetooth Applications