Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
| Nächste Überarbeitung | Vorherige Überarbeitung | ||
|
admin_grundlagen:hello_docker_service [2024/02/24 06:47] ingo_wichmann angelegt |
admin_grundlagen:hello_docker_service [2025/12/12 09:52] (aktuell) ingo_wichmann |
||
|---|---|---|---|
| Zeile 9: | Zeile 9: | ||
| b575343f885c containous/whoami "/whoami" 11 seconds ago Up 10 seconds 0.0.0.0:32768->80/tcp, :::32768->80/tcp port_zufall | b575343f885c containous/whoami "/whoami" 11 seconds ago Up 10 seconds 0.0.0.0:32768->80/tcp, :::32768->80/tcp port_zufall | ||
| </file> | </file> | ||
| + | docker container stats | ||
| + | -> zeigt Resourcenverbrauch | ||
| + | |||
| Dienst ansprechen: | Dienst ansprechen: | ||
| curl http://localhost:32768 | curl http://localhost:32768 | ||
| Zeile 24: | Zeile 27: | ||
| ===== mit Port 80 starten ===== | ===== mit Port 80 starten ===== | ||
| - | docker run -d -P -p 80:80 --name port_80 containous/whoami | + | docker run -d -p 80:80 --name port_80 containous/whoami |
| Dienst ansprechen: | Dienst ansprechen: | ||
| curl http://localhost | curl http://localhost | ||