Port

constructor(privatePort: Int, type: Port.Type, IP: String? = null, publicPort: Int? = null)

Parameters

privatePort

Port on the container

type
IP

Host IP address that the container's port is mapped to

publicPort

Port exposed on the host