exposedPorts property

List<int> exposedPorts
final

The container ports to publish, each on a random free host port (read them back with DockerContainerState.mappedPort).

Implementation

final List<int> exposedPorts;