diff --git a/Kapitel 16/Tutorial.md b/Kapitel 16/Tutorial.md index 28b0b72..67fb067 100644 --- a/Kapitel 16/Tutorial.md +++ b/Kapitel 16/Tutorial.md @@ -29,13 +29,19 @@ Am Ende ist das Wiki über eine eigene Domain erreichbar, per HTTPS abgesichert ```bash apt update && apt upgrade -y -``` -👉 Wir bringen das System auf den neuesten Stand. +apt install -y ca-certificates curl gnupg lsb-release -```bash -apt install -y curl ca-certificates gnupg lsb-release docker.io docker-compose-plugin +mkdir -p /etc/apt/keyrings +curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg + +echo \ + "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \ + $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null + +apt update +apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin ``` -👉 Installation aller Werkzeuge, die für Docker-Container benötigt werden. +👉 Wir bringen das System auf den neuesten Stand, fügen das offizielle Docker-Repository hinzu und installieren Docker inklusive Compose. ```bash mkdir -p /srv/wiki @@ -194,4 +200,4 @@ docker logs -f wiki-postgres - Admin-Benutzer erstellt und Registrierung gesichert - Daten persistent gespeichert -➡️ Nächstes Kapitel: **Netdata (Monitoring)** \ No newline at end of file +➡️ Nächstes Kapitel: **Netdata (Monitoring)**