AI Dictionary › Fondamenti AI

Container

A container is a software package that bundles an application together with everything it needs to run: libraries, dependencies, configuration. It runs in isolation while sharing the host operating system's kernel, making it far lighter than a virtual machine. It solves the eternal works on my machine problem: a container runs identically everywhere.

Definition

What it is

A container is a software package that bundles an application together with everything it needs to run: libraries, dependencies, configuration. It runs in isolation while sharing the host operating system's kernel, making it far lighter than a virtual machine. It solves the eternal works on my machine problem: a container runs identically everywhere.

How it works

Isolation leverages Linux kernel features: namespaces separate what the container sees (processes, network, file system) and cgroups cap the resources it can consume. The application is packed into an immutable image, built in layers and distributed through registries such as Docker Hub. Starting a container takes seconds, versus minutes for a virtual machine.

Applications

In AI, containers are the distribution standard: models are served in containers with their CUDA dependencies, training jobs run containerized on Kubernetes clusters, and agents execute code in disposable containers for safety. Beyond AI, they transformed the entire software lifecycle, from the developer's laptop to production.

History & etymology

The lineage starts with chroot (Unix, 1979), passes through FreeBSD Jails (2000) and Solaris Zones (2004), reaches LXC (2008) and explodes with Docker, unveiled by Solomon Hykes at PyCon in March 2013. The name comes from shipping: just as the standardized intermodal container revolutionized freight from the 1950s onward, the software container standardized how applications travel.

Definizione (italiano)

Un container è un pacchetto software che racchiude un'applicazione insieme a tutto ciò che le serve per funzionare: librerie, dipendenze, configurazioni. Gira in modo isolato ma condivide il kernel del sistema operativo ospite, risultando molto più leggero di una macchina virtuale. Risolve il problema eterno del funziona sul mio computer: il container gira identico ovunque.

L'isolamento sfrutta funzionalità del kernel Linux: i namespace separano ciò che il container vede (processi, rete, file system) e i cgroups limitano le risorse che può consumare. L'applicazione viene impacchettata in un'immagine immutabile, costruita a strati e distribuita tramite registri come Docker Hub. Avviare un container richiede secondi, contro i minuti di una macchina virtuale.

Nell'AI i container sono lo standard di distribuzione: i modelli vengono serviti in container con le loro dipendenze CUDA, i job di training girano containerizzati su cluster Kubernetes e gli agenti eseguono codice in container usa e getta per sicurezza. Fuori dall'AI hanno trasformato l'intero ciclo di vita del software, dal laptop dello sviluppatore alla produzione.

La genealogia parte da chroot (Unix, 1979), passa per FreeBSD Jails (2000) e Solaris Zones (2004), arriva a LXC (2008) ed esplode con Docker, presentato da Solomon Hykes alla PyCon nel marzo 2013. Il nome viene dal container navale: come il contenitore intermodale standardizzato rivoluzionò il trasporto merci dagli anni '50, il container software ha standardizzato il trasporto delle applicazioni.

Related terms

More in Fondamenti AI

Put it into practice

From our network

HSE Genius — AI for Safety Data Sheets

Extract SDS data, H phrases and ECHA compliance checks in seconds, powered by AI.

Visit hsegenius.com →

From the Agora Intelligence blog

More on agora-intelligence.com →

📱 Download the Android app (beta) iOS coming soon

Say what you mean. Get what you need.

Grace Certified — the AI coach that trains and certifies your prompt engineering — by Agora Intelligence.