Linux & OS Internals
Network namespaces: reachable from the host, not from the container
curl 10.0.0.5 works on the host and fails inside the container, and the host's routes and firewall look fine. The container has its own network stack with its own empty tables, and you can build one in a few commands.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Linux & OS Internals
- memory.oom.groupBeginner · 4 min
memory.oom.group controls group-wide OOM victim killing.
- Why "free" memory looks low: the page cacheBeginner · 5 min
A 64 GB server shows 700 MB free and an alert fires. Nothing is wrong, and here is the field you should be alerting on.
- TCP listen backlogBeginner · 5 min
TCP listen backlog queues pending connection work.
- epollBeginner · 4 min
epoll waits efficiently for I/O readiness.
- SO_REUSEPORTBeginner · 4 min
SO_REUSEPORT allows multiple sockets to bind a shared local port.
- "No space left on device" with free spaceBeginner · 5 min
The disk is only 41% full and writes still fail. The filesystem ran out of file records, not bytes.