1.inspect介紹
Docker網(wǎng)絡(luò)命令inspect是用來查看Docker網(wǎng)絡(luò)的詳細(xì)信息
2.inspect用法
docker network inspect [參數(shù)] 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 ~]#
3.inspect樣例
3.1.查看Docker網(wǎng)絡(luò)數(shù)據(jù)源信息
命令:文章來源:http://www.zghlxwxcb.cn/news/detail-823546.html
docker network inspect bridge文章來源地址http://www.zghlxwxcb.cn/news/detail-823546.html
[root@centos79 ~]# docker network ls
NETWORK ID NAME DRIVER SCOPE
3c318451380b brid
到了這里,關(guān)于8-Docker網(wǎng)絡(luò)命令之inspect的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!