mirror of
https://github.com/docker/docs.git
synced 2026-11-21 14:06:38 +03:00
Merge pull request #19042 from eeecoder/update-networking.md-service_name
Update networking.md to use unambiguous term "service name" (#19041)
This commit is contained in:
1 file changed
+1
-1
@@ -40,7 +40,7 @@ When you run `docker compose up`, the following happens:
|
||||
3. A container is created using `db`'s configuration. It joins the network
|
||||
`myapp_default` under the name `db`.
|
||||
|
||||
Each container can now look up the hostname `web` or `db` and
|
||||
Each container can now look up the service name `web` or `db` and
|
||||
get back the appropriate container's IP address. For example, `web`'s
|
||||
application code could connect to the URL `postgres://db:5432` and start
|
||||
using the Postgres database.
|
||||
|
||||
Reference in new issue
Block a user