- 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>
11 lines
374 B
Text
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"
|