Optional: find the latest images versions (see https://www.jaegertracing.io/download/) and pass them via environment variables JAEGER_VERSION and HOTROD_VERSION. Otherwise docker compose will use the latest tag, which is fine for the first time you download the images, but once they are in your local registry the latest tag is never updated and you may be running stale (and possibly incompatible) verions of Jaeger and the HotROD app.
Run Jaeger backend and HotROD demo, e.g.:
JAEGER_VERSION=2.0.0 HOTROD_VERSION=1.63.0 docker compose -f docker-compose-v2.yml up