Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish diagnostic if IP address of EXPOSE is invalid #127

Open
rcjsuen opened this issue Aug 4, 2017 · 0 comments
Open

Publish diagnostic if IP address of EXPOSE is invalid #127

rcjsuen opened this issue Aug 4, 2017 · 0 comments

Comments

@rcjsuen
Copy link
Owner

rcjsuen commented Aug 4, 2017

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant