This page describes how to build and run containers from scratch, and configure container networking from scratch
using the command line tools, chroot
, unshare
, ip
and the Linux kernel feature, Namespaces
. We will also demonstrate how to use them.
- Linux x86_64 Host
- chroot ─ a user-space program to change the root filesystem of the calling process.
- unshare ─ a user-space program to run a program in new namespace that isolates the process ID, mount, IPC, network, and so on.