dockerfile-language-server icon indicating copy to clipboard operation
dockerfile-language-server copied to clipboard

Publish diagnostic if IP address of EXPOSE is invalid

Open rcjsuen opened this issue 8 years ago • 0 comments
trafficstars

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

rcjsuen avatar Aug 04 '17 11:08 rcjsuen