Take a look at other similar totics, eg How to dynamically set a port (from a Testcontainers container) - #4 by slandelle, there’s absolutely nothing fancy there.
Take a look at other similar totics, eg How to dynamically set a port (from a Testcontainers container) - #4 by slandelle, there’s absolutely nothing fancy there.