
=== mvn jib:build to localhost:5000 (base image pulled from public.ecr.aws/docker/library/eclipse-temurin:25-jre) ===
$ mvn compile jib:build -Dimage.name=localhost:5000/jib-demo -Djib.allowInsecureRegistries=true
[INFO] Containerizing application to localhost:5000/jib-demo, localhost:5000/jib-demo:1.0.0...
[INFO] Getting manifest for base image public.ecr.aws/docker/library/eclipse-temurin:25-jre...
[INFO] Building dependencies layer...
[INFO] Building classes layer...
[INFO] Building extra files layer...
[INFO] Building jvm arg files layer...
[INFO] Building resources layer...
[INFO] Using base image with digest: sha256:4ed132f6832e...
[INFO] Built and pushed image as localhost:5000/jib-demo, localhost:5000/jib-demo:1.0.0
[INFO] BUILD SUCCESS

=== What the registry now holds ===
$ curl localhost:5000/v2/_catalog
{"repositories":["jib-demo"]}

$ curl localhost:5000/v2/jib-demo/tags/list
{"name":"jib-demo","tags":["latest","1.0.0"]}

$ manifest media type and layer count
application/vnd.docker.distribution.manifest.v2+json layers: 11

=== Pull and run what Jib pushed ===
jib-demo image: this file came from src/main/jib/etc/motd.txt via extraDirectories
