ContainerPort

data class ContainerPort(val external: Int? = null, val internal: Int, val ip: String? = null, val protocol: String? = null)

Constructors

Link copied to clipboard
constructor(external: Int? = null, internal: Int, ip: String? = null, protocol: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val external: Int? = null

Port exposed out of the container. If not given a free random port >= 32768 will be used.

Link copied to clipboard

Port within the container.

Link copied to clipboard
val ip: String? = null

IP address/mask that can access this port. Defaults to 0.0.0.0.

Link copied to clipboard
val protocol: String? = null

Protocol that can be used over this port. Defaults to tcp.