whatis container

Container

Also known as: Linux container, OCI container

An isolated process (or group) that shares the host kernel but has its own filesystem, network, and process view, built on namespaces and cgroups.

What Is a Container in Linux?

A container is not a virtual machine. There is no guest kernel; the host kernel uses namespaces to give the process its own view of the system and cgroups to limit its resources. That makes containers start in milliseconds and use little overhead.

Application containers (Docker, Podman) package one service and its dependencies. System containers (LXC, Incus) run a full distro userland more like a lightweight VM.

Example

podman run --rm -it alpine sh