FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Docker Containers Aren't Magic Boxes: Seeing Linux Namespaces in Action
How-ToDevOps

Docker Containers Aren't Magic Boxes: Seeing Linux Namespaces in Action

via Dev.to TutorialBackend By Dmytro1mo ago

You restart a container with one extra flag— --pid=host —and suddenly top inside it shows every process on the host. Nothing else changed. That's the moment the "container as isolated VM" mental model breaks down, and the real one has to replace it. Containers aren't virtual machines. They don't have a separate kernel. They're Linux processes whose view of the system — process table, filesystem, users, network interfaces — is scoped by kernel namespaces. Change the namespace configuration, and what the process can see changes. That's the whole story. The Runtime Chain (and Where Namespaces Attach) When you run docker run , you're triggering a chain of processes: dockerd → containerd → containerd-shim → runc → your application The critical piece is runc . It's short-lived—it configures the namespaces, forks the container process (say, nginx), then exits. The containerd-shim process sticks around to supervise that process and hold onto its file descriptors. After runc finishes, the conta

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
15 views

Related Articles

How-To

What I learned about X-HEEP by Benchmarking

Medium Programming • 16h ago

No more Chinese Polestar 3s as production shifts entirely to the US
How-To

No more Chinese Polestar 3s as production shifts entirely to the US

Ars Technica • 17h ago

How-To

The most important 40 mcq with its answers How to use Android visual studio to make a mobile app

Medium Programming • 17h ago

What is Agent Script? How to Build Agents with It in Agentforce
How-To

What is Agent Script? How to Build Agents with It in Agentforce

Medium Programming • 18h ago

I Coded 3 Famous Trading Strategies in Pine Script and Backtested All of Them. None Passed.
How-To

I Coded 3 Famous Trading Strategies in Pine Script and Backtested All of Them. None Passed.

Medium Programming • 18h ago

Discover More Articles