当前位置:   article > 正文

docker container inspect 使用详解

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
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

2、Format the output using the given Go template

[root@Tang-6 ~]# docker container inspect mybox1
"NetworkSettings": {
   
            "Bridge": "",
            "SandboxID"
  • 1
  • 2
  • 3
  • 4
本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号