container-schulung/listings/exercises/ex15-registry-api/commands.sh
Frank Engel bd046e626d Tag 2 Materialien: Exercises ex05-ex15 + Ubuntu 24.04 Setup
- listings/exercises/ex05-ex15: alle Übungsdateien für Tag 2
  (Networking, Bind Mounts, Volumes, Env Variables, Compose, Build, Push, Registry)
- setup/setup-ubuntu2404.sh: Prep-Script für Ubuntu 24.04 (Noble)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 22:04:17 +02:00

12 lines
386 B
Bash
Executable file

#!/bin/bash
# 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"