Is there a way to pass those flags from this command in GenericContainer object from test-containers lib ?
docker container run \
--publish 9092:9082 \
--detach \
--name h2 \
nemerosa/h2
@ClassRule
public static GenericContainer h2db =
new GenericContainer("nemerosa/h2")
.withStartupTimeout(Duration.ofSeconds(Constants.TIMEOUT_DURATION));