Network
How your projects are reached from the Internet, and how they talk to each other.
Each project is isolated on its own network. Two ways to make them talk: a link (one project reaches another) or a shared network (everyone on it reaches each other).
Links
one project reaches another by its nameNone. Link a database or another project so that a project reaches it by its name.
Each project’s network
1 private network, with the names and addresses Docker gives
Each project’s network
1 private network, with the names and addresses Docker givesBoutiqueproject
api · boutique-api172.26.0.4
cache · boutique-cache172.26.0.2
db · boutique-db172.26.0.3
web · boutique-web172.26.0.5
Each project has its own network: other projects only reach it when linked to it. Containers of the same project reach each other by their short name (
db, api…).Other Docker networks
1 on the server, outside DevHub
Other Docker networks
1 on the server, outside DevHub| Network | Containers |
|---|---|
| bridge | — |