Zum Inhalt springen

Docker

Eine Plattform zum Verpacken von Anwendungen und ihren Abhängigkeiten in leichtgewichtige, portable Container.

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).

Verwandte Artikel

Container

Ein isoliertes, in sich geschlossenes Paket, das eine Anwendung mit allem Nötigen zum Ausführen bündelt.

Docker Compose

Ein Werkzeug, das Anwendungen mit mehreren Containern aus einer einzigen deklarativen YAML-Datei definiert und startet.

Self-Hosting

Software auf Hardware betreiben, die du kontrollierst, statt auf Cloud-Dienste Dritter zu setzen.