mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #29241 from lixiaobing10051267/masterNetworkLs
add SCOPE field content for docker network ls
This commit is contained in:
commit
a75cb8c014
2 changed files with 6 additions and 6 deletions
|
@ -40,7 +40,7 @@ NETWORK ID NAME DRIVER SCOPE
|
||||||
7fca4eb8c647 bridge bridge local
|
7fca4eb8c647 bridge bridge local
|
||||||
9f904ee27bf5 none null local
|
9f904ee27bf5 none null local
|
||||||
cf03ee007fb4 host host 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:
|
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:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker network ls
|
$ docker network ls
|
||||||
NETWORK ID NAME DRIVER
|
NETWORK ID NAME DRIVER SCOPE
|
||||||
7fca4eb8c647 bridge bridge
|
7fca4eb8c647 bridge bridge local
|
||||||
9f904ee27bf5 none null
|
9f904ee27bf5 none null local
|
||||||
cf03ee007fb4 host host
|
cf03ee007fb4 host host local
|
||||||
78b03ee04fc4 multi-host overlay
|
78b03ee04fc4 multi-host overlay swarm
|
||||||
```
|
```
|
||||||
|
|
||||||
Use the `--no-trunc` option to display the full network id:
|
Use the `--no-trunc` option to display the full network id:
|
||||||
|
|
Loading…
Add table
Reference in a new issue