You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow dynamic port binding so the bind port to an exposed port is assigned automatically from random port. In this way we will be able to run tests in parallel without having port collisions.
The text was updated successfully, but these errors were encountered:
Dynamic port binding is done by setting one property to true (PublishAllPorts).
To implement this feature we are going to add a new possible value in PortBinding property. Instead of passing an array you can also pass a string with dynamic.
portBindings: dynamic
This means we should take care of having an instanceof when getting port binding between an array or an string.
In Docker docs says: PublishAllPorts - Allocates a random host port for all of a container's exposed ports. Specified as a boolean value.
Thinking better because PublishAllPortsis a property that you can set in configuration file, the developer is free to not specify any portbind and set this property to true.
Allow dynamic port binding so the bind port to an exposed port is assigned automatically from random port. In this way we will be able to run tests in parallel without having port collisions.
The text was updated successfully, but these errors were encountered: