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

docker.network misleading error messages #485

Closed
ryane opened this issue Nov 8, 2016 · 0 comments · Fixed by #512
Closed

docker.network misleading error messages #485

ryane opened this issue Nov 8, 2016 · 0 comments · Fixed by #512
Labels
Milestone

Comments

@ryane
Copy link
Contributor

ryane commented Nov 8, 2016

currently, the docker.network can return misleading error messages. if there is any scenario where creating a network results in the docker api returning a 409 (conflict) status, it will report that the network could not be created because it already exists. However, this is not always the actual reason for the error. For example, if you attempt to create a network that has overlapping ip addresses with an existing network, you will see the error "network already exists" instead of "networks have overlapping IPv4". This is due to an issue in the underlying docker api client library: fsouza/go-dockerclient#605

When the underlying issue is fixed, we can update the dependency and the correct error message should be returned.

@ryane ryane added the bug label Nov 8, 2016
ryane added a commit that referenced this issue Nov 18, 2016
@ryane ryane modified the milestone: 0.5.0 Nov 21, 2016
ryane added a commit that referenced this issue Nov 23, 2016
BrianHicks pushed a commit that referenced this issue Dec 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant