The first attempt occasionally fails, probably due to a race with the listener's startup. Additionally, perform minor adjustments to the output written to stderr to ensure it is properly flushed in the CI environment.
The naming scheme of containers created by Compose has changed in V2. Ref. docker/compose#8655
Fixes #578
Co-authored-by: Antoine Cotten <hello@acotten.com>