hostPorts property

Map<int, int> hostPorts
final

Container port to the host port Docker chose for it.

Implementation

final Map<int, int> hostPorts;