> ## Content Index
> Fetch the complete content index at: https://www.shizl.de/llms.txt
> Use this file to discover other available public pages before exploring further.

# Docker & Docker Compose v2
- URL: https://www.shizl.de/docker-und-docker-compose-v2/
- Published: 2026-10-08T08:46:44.000Z
- Updated: 2026-10-09T12:23:42.000Z
- Author: Shizl (André)
- Tags: Tech

Du brauchst eine funktionierende Installation von Docker und Docker Compose. Keine Sorge, die Installation ist einfach.

Hier ist der One-Line-Befehl, um Docker auf deinem Server zu installieren:

---

```bash
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh ./get-docker.sh
```

Falls curl fehlt, dann instalieren wir es so.

---

```bash
apt install curl
```

### 5.1 Docker testen

Lass uns mal testen ob Docker ordentlich installiert wurde

---

```bash
docker run hello-world
```

Der Befehl sollte so oder so ähnlich dann in der Konsole aussehen.

---

```bash
test@ubuntu-server:~# docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
c1ec31eb5944: Pull complete
Digest: sha256:5b3cc85e16e3058003c13b7821318369dad01dac3dbb877aac3c28182255c724
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.
```