Docker Linux kernel features — namespaces (isolation), cgroups (resource control), மற்றும் union filesystems (layered images) — ஆகியவற்றைப் பயன்படுத்தி lightweight containers உருவாக்குகிறது. அடிப்படை வழிமுறைகளைப் புரிந்துகொள்வது containers எவ்வாறு isolation மற்றும் efficiency அடைகிறது என்பதை விளக்குகிறது.
Namespaces — isolation
Linux NAMESPACES isolate what a process can SEE — giving each container its own view:
PID namespace → its own process tree (container sees only its processes)
NET namespace → its own network interfaces, IPs, ports
MNT namespace → its own filesystem mounts
UTS namespace → its own hostname
IPC, USER namespaces → isolated IPC, user/group ID mapping
→ Namespaces are WHY a container feels like a separate machine (isolated view),
while actually sharing the host kernel.
