- 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>
12 lines
346 B
Text
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
|