docker infoでデバッグ情報を表示する方法
docker infoでデバッグ情報を表示するには、-Dオプションを指定します。
コマンドの説明
$ docker info --help Usage: docker info [OPTIONS] Display system-wide information Options: -f, --format string Format the output using the given Go templaters
-Dオプションを指定した場合は、Debug ModeがTrueになります。
$ docker -D info Client: Debug Mode: true Server: Containers: 1 Running: 0 Paused: 0 Stopped: 1 Images: 20 Server Version: 19.03.8 Storage Driver: overlay2 Backing Filesystem: Supports d_type: true Native Overlay Diff: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: runc Default Runtime: runc Init Binary: docker-init containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd init version: fec3683 Security Options: seccomp Profile: default Kernel Version: 3.10.0-1062.18.1.el7.x86_64 Operating System: CentOS Linux 7 (Core) OSType: linux Architecture: x86_64 CPUs: 1 Total Memory: 2.779GiB Name: localhost.localdomain ID: KWMM:V4OK:UARR:KUOL:6ILO:C4N4:HOF4:HY3C:RVUQ:TB3W:XTFW:2V4B Docker Root Dir: /var/lib/docker Debug Mode: false Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false