You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect network name showed with --x-networking #2345
@aanand@dnephin why is it that compose still creates an overlay network and names it $PROJECT_NAME even if all the services in docker-compose.yml file explicitly use a net: parameter that uses an existing overlay network ?
Sorry, if it's a stupid question, but is the expected behaviour here to just output "default" (literally) instead of "None"?
I.e. in this particular case, what is the expected output:
Creating network "wildflymysqljavaee7" with driver "default"
Creating network "wildflymysqljavaee7" with driver "bridge"
or maybe:
Creating network "wildflymysqljavaee7" with the default driver
Again, sorry if that's obvious -- I'm a newbie in compose.
Activity
dnephin commentedon Dec 1, 2015
The log message needs to check if there is no driver specified, and say "default" instead of "None"
nicolaka commentedon Dec 9, 2015
@aanand @dnephin why is it that compose still creates an overlay network and names it $PROJECT_NAME even if all the services in docker-compose.yml file explicitly use a
net:parameter that uses an existing overlay network ?Is this behavior handing with this issue?
aanand commentedon Dec 9, 2015
We probably shouldn't create the default network if nothing is going to use it, yeah.
dnephin commentedon Dec 9, 2015
Ya, that should have already been fixed in #2341 (#2275) which was part of 1.5.1.
dbonev commentedon Dec 10, 2015
Sorry, if it's a stupid question, but is the expected behaviour here to just output "default" (literally) instead of "None"?
I.e. in this particular case, what is the expected output:
or maybe:
Again, sorry if that's obvious -- I'm a newbie in compose.
Thanks
aanand commentedon Dec 10, 2015
Correct. (3) would be my preference.
dbonev commentedon Dec 10, 2015
#dibs