Просмотр исходного кода

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

lixiaobing10051267 8 лет назад
Родитель
Сommit
170fcead7e
2 измененных файлов с 6 добавлено и 6 удалено
  1. 1 1
      docs/reference/commandline/network_ls.md
  2. 5 5
      man/docker-network-ls.1.md

+ 1 - 1
docs/reference/commandline/network_ls.md

@@ -40,7 +40,7 @@ NETWORK ID          NAME                DRIVER          SCOPE
 7fca4eb8c647        bridge              bridge          local
 9f904ee27bf5        none                null            local
 cf03ee007fb4        host                host            local
-78b03ee04fc4        multi-host          overlay         local
+78b03ee04fc4        multi-host          overlay         swarm
 ```
 
 Use the `--no-trunc` option to display the full network id:

+ 5 - 5
man/docker-network-ls.1.md

@@ -19,11 +19,11 @@ networks that span across multiple hosts in a cluster, for example:
 
 ```bash
     $ docker network ls
-    NETWORK ID          NAME                DRIVER
-    7fca4eb8c647        bridge              bridge
-    9f904ee27bf5        none                null
-    cf03ee007fb4        host                host
-    78b03ee04fc4        multi-host          overlay
+    NETWORK ID          NAME                DRIVER          SCOPE
+    7fca4eb8c647        bridge              bridge          local
+    9f904ee27bf5        none                null            local
+    cf03ee007fb4        host                host            local
+    78b03ee04fc4        multi-host          overlay         swarm
 ```
 
 Use the `--no-trunc` option to display the full network id: