Skip to content

bugfix: prevent creating network 'default'#19431

Merged
coolljt0725 merged 1 commit intomoby:masterfrom
WeiZhang555:19422-default-network
Jan 19, 2016
Merged

bugfix: prevent creating network 'default'#19431
coolljt0725 merged 1 commit intomoby:masterfrom
WeiZhang555:19422-default-network

Conversation

@WeiZhang555
Copy link
Contributor

@WeiZhang555 WeiZhang555 commented Jan 19, 2016

Default is predefined network and is reserved, so we should stop user
from creating network with name default

Signed-off-by: Zhang Wei [email protected]

@thaJeztah
Copy link
Member

change LGTM, should we have some tests?

/cc @mavenugo

@WeiZhang555
Copy link
Contributor Author

Yeah, test is coming

Default is predefined network and is reserved, so we should stop user
from creating network with name `default`

Signed-off-by: Zhang Wei <[email protected]>
@WeiZhang555 WeiZhang555 force-pushed the 19422-default-network branch from 45a6890 to 31dae44 Compare January 19, 2016 03:09
@mavenugo
Copy link
Contributor

LGTM.
thanks @WeiZhang555

@coolljt0725
Copy link
Contributor

LGTM

@thaJeztah
Copy link
Member

It's a small change, so think we can cherry pick this into the release

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 should not allow creating a network called "default", as it's a reserved name

6 participants