Building a Linux Container Using Namespaces: Part – 1 (2020)

The article delves into Linux container implementation by utilizing Namespaces. Docker, a widely recognized container platform, operates by isolating application processes within the same Operating System kernel. Namespaces abstract global resources like host names and process IDs, providing the illusion of separate instances for each process. The article explains the six types of namespaces in Linux – IPC, Network, Mount, PID, User, and UTS. A step-by-step guide is provided for building a simple container using Golang, employing the unshare Linux command. The article also demonstrates UTS and User namespace isolation using both the unshare command and a simple Go program.

https://www.polarsparc.com/xhtml/Containers-1.html

To top