What is a Container?

I lightweight virtual environment that shares the host kernel

A container is a lightweight, standalone package that includes everything an application needs to run — its code, libraries, dependencies, and configuration — all isolated from the host system. Unlike virtual machines, containers share the host operating system’s kernel, which makes them much faster and more efficient.

In short — a container is a self-contained environment that ensures an app runs consistently across different systems, from a developer’s laptop to production servers.