Some applications such as Couchbase have reserved ports which must be exposed with the same port number on the host. As such, the current mapped port settings will not help us create these containers and be sure that the same reserved ports are exposed.
If the testcontainers library could add a method such as withPortBinding(exposedPort, hostPort) that allowed the setup of these port bindings then I think it would fix this issue.
Thanks