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

default network #2292

Closed
vieux opened this issue Oct 30, 2015 · 3 comments
Closed

default network #2292

vieux opened this issue Oct 30, 2015 · 3 comments
Assignees
Milestone

Comments

@vieux
Copy link

vieux commented Oct 30, 2015

I'm not sure I'm reading correctly, but it seems like compose is choosing bridge by default as default network driver : https://github.com/docker/compose/blob/master/compose/project.py#L86

We should let the daemon decide instead, same as this PR moby/moby#17504

@vieux
Copy link
Author

vieux commented Oct 30, 2015

ping @dnephin

@dnephin dnephin added this to the 1.5.0 milestone Oct 30, 2015
@dnephin dnephin self-assigned this Oct 30, 2015
@dnephin
Copy link

dnephin commented Oct 30, 2015

Yup, I agree

@dnephin
Copy link

dnephin commented Oct 30, 2015

I've got a fix in #2295. It works fine against engine. When I run it against swarm, it creates an overlay network, but then I get this failure trying to start the container:

docker.errors.APIError: 500 Server Error: Internal Server Error (
  "b'Cannot start container 3f5f713dd01ae90ba420f77f47abb040360d2360c851b027c049ccc89736e53e:
  subnet sandbox join failed for "10.0.0.0/24":
  vxlan interface creation failed for subnet "10.0.0.0/24":
  failed in prefunc:
  failed to set namespace on link "vxlan9323b4a": invalid argument'")

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

2 participants