container-schulung/listings/exercises/ex15-registry-api/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

11 lines
374 B
Text

# Exercise 15 — Query the local registry API
# List all repositories in the registry
curl http://localhost:5000/v2/_catalog
# List tags for a specific image
curl http://localhost:5000/v2/hello/tags/list
# Inspect a specific manifest (optional)
curl http://localhost:5000/v2/hello/manifests/latest \
-H "Accept: application/vnd.docker.distribution.manifest.v2+json"