What is a container, in one sentence?
BeginnerConceptContainers, VMs & Isolation Internals
Answer
A container is a normal Linux process (or process tree) that the kernel isolates with namespaces, limits with cgroups, and gives its own root filesystem built from an image. There is no "container" object in the kernel; it is a combination of features. That is why containers start in milliseconds and share the host kernel.
More on Containers, VMs & Isolation Internals
How do containers differ from virtual machines?BeginnerCan a Linux container run a Windows application, or the reverse?IntermediateWhat are Linux namespaces? Name the ones Docker uses.BeginnerWhat are cgroups and what do they do for containers?BeginnerWhat is PID 1 in a container and why does it matter?IntermediateHow do you see which namespaces a container uses and enter them from the host?Intermediate