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

Add net attribute, deprecate networking #152

Merged
merged 2 commits into from
Jun 24, 2014
Merged

Conversation

philk
Copy link
Contributor

@philk philk commented May 13, 2014

--networking has been replaced by --net=X in Docker 0.11. This attempts to fix #150

This is the minimum viable fix for this. I have some other ideas but want to run them past smarter people first.

  1. Should we validate that net is one of bridge, host, container:, or none? This makes things slightly harder to mess up but will require updates if more options appear in the future.
  2. We should probably make net or networking available conditionally on the Docker version but at least as of now I didn't see a way to check that. Probably a worthwhile feature for the cookbook in general? I can try to implement that in a separate PR (would require determining that both client and server are >x.x).

philk added 2 commits May 13, 2014 11:24
--networking has been replaced by --net=X in Docker 0.11
@bflad
Copy link
Contributor

bflad commented Jun 24, 2014

For now let's take this as-is. Would love to add per-version attribute support at some point, but clearing up the current PR/issue backlog. Maybe things will be much more stable now that Docker is at 1.0 😄 Thanks for the contribution!

bflad added a commit that referenced this pull request Jun 24, 2014
Add net attribute, deprecate networking
@bflad bflad merged commit 8a03d40 into sous-chefs:master Jun 24, 2014
bflad added a commit that referenced this pull request Jun 24, 2014
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 this pull request may close these issues.

Docker 0.11.0 --net flag
2 participants