container-schulung/listings/exercises/ex14-push/commands.txt
Frank Engel b32d8c2472 exercises: ex16-19 hinzugefügt, commands.sh → commands.txt
- ex16: lokale Registry + VisitCounter pushen
- ex17: vollständiger Update-Zyklus (edit → build → push → restart)
- ex18: VisitCounter mit Quadlets deployen
- ex19: Container schrittweise härten (read-only, cap-drop, no-new-priv)
- alle commands.sh umbenannt in commands.txt, Shebang entfernt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 09:09:51 +02:00

12 lines
346 B
Text

# Exercise 14 — Push image to local registry
# Tag and push
podman build -t localhost:5000/hello:latest .
# OR tag an existing image:
# podman tag hello:latest localhost:5000/hello:latest
podman push --tls-verify=false localhost:5000/hello:latest
# Verify
curl http://localhost:5000/v2/_catalog
curl http://localhost:5000/v2/hello/tags/list