Skip to content

Support specifying network mode for building images #1060

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

Closed
tlusk opened this issue Jun 25, 2018 · 0 comments · Fixed by #1061
Closed

Support specifying network mode for building images #1060

tlusk opened this issue Jun 25, 2018 · 0 comments · Fixed by #1061

Comments

@tlusk
Copy link
Contributor

tlusk commented Jun 25, 2018

Docker API 1.25+ added support for specifying the network mode when building an image. docker-java currently does not expose that functionality in the API.

This is required to support docker build arguments such as --network=host

See:
https://docs.docker.com/engine/reference/commandline/build/#options
https://docs.docker.com/engine/api/v1.25/#operation/ImageBuild

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant