Demystifying Docker -it: From Physical Teletypes to PTYs
A deep dive into the evolution of Linux terminal architecture, tracing the path from physical teletypes (TTY) to modern pseudo-terminals (PTY). This guide explains how Docker’s -it flag orchestrates file descriptors and line disciplines to bridge the gap between your host and a containerised shell.