docker container inspect 使用详解
1、Command Help
[root@Tang-6 ~]# docker container inspect --help
Usage: docker container inspect [OPTIONS] CONTAINER [CONTAINER...]
Display detailed information on one or more containers
Options:
-f, --format string Format the output using the given Go template
-s, --size Display total file sizes
2、Format the output using the given Go template
[root@Tang-6 ~]# docker container inspect mybox1
"NetworkSettings": {
"Bridge": "",
"SandboxID"