Skip to content

Conversation

@msabansal
Copy link
Contributor

The docker daemon doesn't start on windows after an endpoint leaks. It fails with error Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to get endpoints from store: failed to decode endpoint IPv4 address () after json unmarshal: invalid CIDR address:

This is because there is no ip for an endpoint in transparent network. We need to handle that during marshal and unmarshal.

…h transaprent network

Signed-off-by: Sandeep Bansal <sabansal@microsoft.com>
}
epMap["epOption"] = ep.epOption
epMap["epConnectivity"] = ep.epConnectivity
epMap["PortMapping"] = ep.portMapping

Choose a reason for hiding this comment

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

Do we need to check for Port Mapping too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No that is being handled by json.Unmarshal

@msabansal
Copy link
Contributor Author

@mavenugo @aboch PTAL. This is a regression because of my windwos driver storage changes and would have to be fixed before next release.

@sanimej
Copy link

sanimej commented Jun 16, 2017

LGTM

@sanimej sanimej merged commit 6ecd8ad into moby:master Jun 16, 2017
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.

3 participants