Urgent.News

What's breaking now, across thousands of outlets.

Tech

What a Linux container really is (it's not a VM)

Right now, on your machine, a process is being lied to . It thinks it's alone on the computer. It thinks it owns the whole filesystem. It thinks its process ID is 1 . None of that is true. It's running right next to everything else, on the same kernel — and the kernel is lying to its face. That lie has a name. We call it a container . Prefer to watch? Full 6-minute walkthrough with the animation:…

A Linux container is not a virtual machine (VM), but rather a process running on the same kernel as other processes on the host machine. This container is created by altering the process's view of the system, through the use of namespaces, and its use of system resources, via control groups (cgroups). Namespaces are what the process can see, while cgroups determine what resources it can utilize.

This setup allows multiple containers to run on a single host, each with its own isolated environment while sharing the same kernel. A container does not have its own kernel, nor does it encapsulate its own operating system. Instead, it is a single process wrapped in these two key features. The misconception often arises from visual representations of containers as separate entities, but in reality, they are just normal processes with their environment managed by the kernel.

Docker, for instance, accomplishes this by unpacking the container image, applying namespaces, applying cgroups, and then executing the process. The container image itself is merely a collection of files and metadata, not an operating system or a kernel. This setup enables containers to start up much faster than VMs, which must boot their own operating system and kernel, making containers a more efficient solution for many use cases.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Six tests that passed for the wrong reason

My backup script told me the restore was verified. It restored ten tables with zero rows in every one, checked the schema, and printed VERIFIED.

  • Backup script reported successful restoration of ten tables with no rows
  • Stability gate flawed, recent-quiet rule mislabeled
  • Health-check scenario maintained low volume that never existed

Why your RAG returns garbage (and it's not the model)

Your RAG bot just gave a confident, detailed answer. And it's completely wrong . Here's the part that'll annoy you: the model did nothing wrong. It answered perfectly — using the text you handed it.

  • Chunking: Incorrect fixed-length cuts split sentences or questions from their answers
  • Embedding: Retrieval model may not produce similar vectors for related information
  • Ranking: Re-ranker can prioritize most relevant chunks for accurate answers

More from Monday 31 August →