Browse code

update docs/reference/commandline/network_inspect.md

The following sentences (introduced in v1.11 via #21160) were misleading for Swarm mode services (>= v1.12)

For networks backed by multi-host network driver, such as Overlay,
this command also shows the container endpoints in other hosts in the
cluster. These endpoints are represented as "ep-{endpoint-id}" in the output.

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>

Akihiro Suda authored on 2016/10/19 14:03:29
Showing 1 changed files
... ...
@@ -39,6 +39,9 @@ The `network inspect` command shows the containers, by id, in its
39 39
 results. For networks backed by multi-host network driver, such as Overlay,
40 40
 this command also shows the container endpoints in other hosts in the
41 41
 cluster. These endpoints are represented as "ep-{endpoint-id}" in the output.
42
+However, for swarm-scoped networks, only the endpoints that are local to the
43
+node are shown.
44
+
42 45
 You can specify an alternate format to execute a given
43 46
 template for each result. Go's
44 47
 [text/template](http://golang.org/pkg/text/template/) package describes all the