DL3011 · hadolint/hadolint Wiki · GitHub
Skip to content
Lukas Martinelli edited this page Jan 11, 2016 · 2 revisions

Valid UNIX ports range from 0 to 65535.

Problematic code:

FROM busybox
EXPOSE 80000

Correct code:

FROM busybox
EXPOSE 65535

Rationale:

https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers

Clone this wiki locally