Skip to main content
Valid UNIX ports range from 0 to 65535.
PropertyValue
SeverityError
CategoryCorrectness
DefaultEnabled

Description

Valid UNIX ports range from 0 to 65535. Exposing a port outside this range is invalid and will result in an error.

Examples

Problematic code

FROM busybox
EXPOSE 80000

Correct code

FROM busybox
EXPOSE 65535

Reference