Skip to content

Fixed a few network UI issues in swarm-mode#24158

Merged
icecrime merged 1 commit intomoby:masterfrom
mavenugo:smissues
Jul 5, 2016
Merged

Fixed a few network UI issues in swarm-mode#24158
icecrime merged 1 commit intomoby:masterfrom
mavenugo:smissues

Conversation

@mavenugo
Copy link
Copy Markdown
Contributor

* Detect name conflicts on network creation
* Detect and prevent network connect/disconnect for managed containers

Signed-off-by: Madhu Venugopal <[email protected]>
@thaJeztah
Copy link
Copy Markdown
Member

Are we sure we want to introduce a concept of "managed" and "unmanaged" containers?

How does this resolve creating a local network named "test", if there's an overlay network with the same name?

@mavenugo
Copy link
Copy Markdown
Contributor Author

@thaJeztah we have a few cases where we have to differentiate managed and unmanaged containers (mostly due to the current limitations that we have with a few unsupported features). When we are feature parity, then we can relax these restrictions and maybe remove this differentiation as well.

How does this resolve creating a local network named "test", if there's an overlay network with the same name?

That's exactly this PR does with the changes in api/server/router/network/network_routes.go.

@tonistiigi
Copy link
Copy Markdown
Member

LGTM

@vdemeester
Copy link
Copy Markdown
Member

LGTM 🐸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker network create -d bridge test works if there is already an overlay network named test?

7 participants