Open
Description
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