Browse code

add SCOPE field content for docker network ls Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>

(cherry picked from commit 170fcead7ecd0dbe323d727a2afd3e2694e6af29)
Signed-off-by: Victor Vieux <vieux@docker.com>

lixiaobing10051267 authored on 2016/12/08 17:57:27
Showing 2 changed files
... ...
@@ -40,7 +40,7 @@ NETWORK ID          NAME                DRIVER          SCOPE
40 40
 7fca4eb8c647        bridge              bridge          local
41 41
 9f904ee27bf5        none                null            local
42 42
 cf03ee007fb4        host                host            local
43
-78b03ee04fc4        multi-host          overlay         local
43
+78b03ee04fc4        multi-host          overlay         swarm
44 44
 ```
45 45
 
46 46
 Use the `--no-trunc` option to display the full network id:
... ...
@@ -19,11 +19,11 @@ networks that span across multiple hosts in a cluster, for example:
19 19
 
20 20
 ```bash
21 21
     $ docker network ls
22
-    NETWORK ID          NAME                DRIVER
23
-    7fca4eb8c647        bridge              bridge
24
-    9f904ee27bf5        none                null
25
-    cf03ee007fb4        host                host
26
-    78b03ee04fc4        multi-host          overlay
22
+    NETWORK ID          NAME                DRIVER          SCOPE
23
+    7fca4eb8c647        bridge              bridge          local
24
+    9f904ee27bf5        none                null            local
25
+    cf03ee007fb4        host                host            local
26
+    78b03ee04fc4        multi-host          overlay         swarm
27 27
 ```
28 28
 
29 29
 Use the `--no-trunc` option to display the full network id: