8000 add --network option for docker build by tonistiigi · Pull Request #27702 · moby/moby · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add --network option for docker build #27702

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

Merged
merged 2 commits into from
Oct 26, 2016
Merged

Conversation

tonistiigi
Copy link
Member
@tonistiigi tonistiigi commented Oct 24, 2016

carry #20987

fixes #10324

@vdemeester

@thaJeztah
Copy link
Member

don't forget to update the reference docs, man pages, and API docs + changelog

Copy link
Member
@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐸
@tonistiigi Ah one question though, should we have a --net hidden flag or not ? (/cc @dnephin @thaJeztah on that question too)

@thaJeztah
Copy link
Member

I don't think we should add --net as alias here. This is a new feature, and there's never been a --net, so no need to add it for backward compatibility. We can add it if there's a lot of requests, but let's keep it simple now

@mavenugo
Copy link
Contributor

LGTM

@sandyskies
Copy link
Contributor

I think just --network will be fine.

@cpuguy83
Copy link
Member

Seems to be missing --add-host from the referenced issue.

@cpuguy83
Copy link
Member

But otherwise LGTM so moving to docs-review, we can follow-up with add-host

Copy link
Member
@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs LGTM 🐸
/cc @thaJeztah