A guide and environment for creating a working Linux distro inside a Docker container.
- VMs use more memory than containers.
- VMs use more CPU time than containers.
- VMs have higher I/O overhead.
- Most importantly, because you can.
- To learn about Linux, root pivoting, and the entire init process to multi-user mode.
- New: You have an Nvidia GPU but can't get PCI passthrough working inside a VM.
- Docker
01: Bootstrapping a Distro Inside Docker
02: Pivoting Into a Running Distro
03: Migrate to Multi-user Mode
04: Basic Command-Line Setup
05: Networking Goodies
Get a hardware-accelerated desktop environment with full OpenGL, Vulkan, and NVENC support.
Note: REQUIRES Nvidia GPU; Does not support Intel or AMD.