Saltar al contenido

Docker

Una plataforma para empaquetar aplicaciones y sus dependencias en contenedores ligeros y portátiles.

Docker is the most popular way to run self-hosted apps. Each container is isolated, reproducible and easy to update or remove. With Docker Compose you define your whole stack in a single YAML file. Containers share the host kernel, so they start in seconds and use far less overhead than virtual machines.

In practice, a home server usually runs a Docker host with each application defined as a Compose service, its persistent data mapped to a named volume or bind mount, and its web interface published behind a single reverse proxy. This pattern makes updates trivial (pull a new image and recreate the container), backups straightforward (save the volumes and compose files), and rebuilds boring (restore from Git plus your backups). The main concepts to learn are volumes (so data survives container recreation), networks (so containers can talk to each other by name), and image tags (pin versions instead of using :latest to keep upgrades predictable).

Artículos relacionados

Container

Un paquete aislado y autónomo que agrupa una aplicación con todo lo necesario para ejecutarse.

Docker Compose

Una herramienta que define y ejecuta aplicaciones multicontenedor desde un único archivo YAML declarativo.

Self-Hosting

Ejecutar software en hardware que controlas en lugar de depender de servicios en la nube de terceros.