赞
踩
Docker网络命令inspect是用来查看Docker网络的详细信息
docker network inspect [参数] NETWORK
- [root@centos79 ~]# docker network inspect --help
-
- Usage: docker network inspect [OPTIONS] NETWORK [NETWORK...]
-
- Display detailed information on one or more networks
-
- Options:
- -f, --format string Format output using a custom template:
- 'json': Print in JSON format
- 'TEMPLATE': Print output using the given Go template.
- Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates
- -v, --verbose Verbose output for diagnostics
- [root@centos79 ~]#
命令:
docker network inspect bridge
- [root@centos79 ~]# docker network ls
- NETWORK ID NAME DRIVER SCOPE
- 3c318451380b brid
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。