DEV Community

Discussion on: Mastering the Docker networking

Collapse
 
willb profile image
willb

Great article!
I've got a question - especially as networking is not a strength of mine.
Trying to figure out the difference between the bridge network and the saturno network. Why does the saturno network allow you to use the container name, where the bridge network doesn't.
I inspected both, and it seems the only difference are the options. Which one of the options for the bridge network, disallows the use of the container name?

Collapse
 
leandronsp profile image
Leandro Proença

I'm not aware of the internals but I guess that the default bridge network does not add containers to the /etc/hosts

Collapse
 
willb profile image
willb

Thanks!

Collapse
 
benbb96 profile image
BBB

I was wondering the same thing