From e0a5dffa698ab82e185a35771b5fa941af2e7da9 Mon Sep 17 00:00:00 2001 From: huwenfeng Date: Tue, 12 Sep 2017 08:02:44 +0800 Subject: [PATCH] Update index.md (#4532) add emphasis automatic service discovery on the default network and user-defined networks --- engine/userguide/networking/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/userguide/networking/index.md b/engine/userguide/networking/index.md index 831da839b1..0466f93a0b 100644 --- a/engine/userguide/networking/index.md +++ b/engine/userguide/networking/index.md @@ -196,9 +196,9 @@ $ docker network inspect bridge ``` Containers connected to the default `bridge` network can communicate with each -other by IP address. Docker does not support automatic service discovery on the +other by IP address. **Docker does not support automatic service discovery on the default bridge network. If you want containers to be able to resolve IP addresses -by container name, you should use user-defined networks instead. You can link +by container name, you should use _user-defined networks_ instead**. You can link two containers together using the legacy `docker run --link` option, but this is not recommended in most cases.