eth-p / docker-distro

A guide and environment for creating a working Linux distro inside a Docker container.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-distro

A guide and environment for creating a working Linux distro inside a Docker container.

Why?

  • 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.

Prerequisites

  • Docker

Resources

Guide

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

Extras

GPU Acceleration (Nvidia)

Get a hardware-accelerated desktop environment with full OpenGL, Vulkan, and NVENC support.
Note: REQUIRES Nvidia GPU; Does not support Intel or AMD.

About

A guide and environment for creating a working Linux distro inside a Docker container.

License:MIT License


Languages

Language:Shell 95.1%Language:Dockerfile 4.9%