Skip to content

Publish diagnostic if IP address of EXPOSE is invalid #127

Open
@rcjsuen

Description

@rcjsuen

The Docker builder will create an error if the IP address of an EXPOSE instruction is invalid. We should publish a diagnostic for this same error.

FROM scratch
EXPOSE 8080::8081
$ docker build .
Sending build context to Docker daemon  86.15MB
Step 1/2 : FROM scratch
 --->
Step 2/2 : EXPOSE 8080::8081
Invalid ip address: 8080

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions