Skip to content

Type Alias: ImageExposePort ​

ImageExposePort = object

A port exposed by an image (its Dockerfile's EXPOSE), with its protocols (DockerImage.config.ports).

Properties ​

port ​

port: number

The port in the container (80).


tcp ​

tcp: boolean

true when the port is exposed for TCP.


udp ​

udp: boolean

true when the port is exposed for UDP.

Released under the MIT License.