docker info 详解
[root@localhost ~]# docker info
Client:
Debug Mode: false #
Server:
Containers: 0 #当前主机运行的容器总数
Running: 0 #有几个容器正在运行
Paused: 0 #有几个容器是暂停的
Stopped: 0 #有几个容器时停止的
Images: 0 #当前服务器的镜像数量
Server Version: 19.03.3 #服务端版本
Storage Driver: overlay2 #正在使用的存储引擎
Backing Filesystem: xfs #后端文件系统,即服务器的磁盘文件系统
Supports d_type: true #是否支持d_type
Native Overlay Diff: true #是否支持差异数据存储
Logging Driver: json-file #日志类型
Cgroup Driver: cgroupfs #Cgroups
Plugins: #插件
Volume: local #卷
Network: bridge host ipvlan macvlan null overlay #支持的网络类型,overlay实现跨主机通信
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog #支持的日志类型
Swarm: inactive #是否支持swarm(docker的容器编排工具)
Runtimes: runc #已安装的容器运行机制
Default Runtime: runc #默认使用的容器运行机制
Init Binary: docker-init #初始化容器的守护进程,即pid为1的进程
containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339 #容器版本ID
runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657 #runc版本ID
init version: fec3683 #init版本
Security Options: #安全选项
Apparmor #安全模块,https://docs.docker.com/engine/security/apparmor
seccomp #审计模块,https://docs.docker.com/engine/security/seccomp
Profile: default #默认的配置文件
Kernel Version: 3.10.0-1062.el7.x86_64 #宿主机内核版本
Operating System: CentOS Linux 7 (Core) #宿主机操作系统
OSType: linux #宿柱机操作系统类型
Architecture: x86_64 #宿主机架构
CPUs: 1 #宿主机CPU数量
Total Memory: 972.4MiB #宿主机总内存
Name: localhost.localdomain #宿主机hostname
ID: DIPK:XV7U:XY42:FTSH:T3AQ:TBXG:XK4F:WGZ6:YH2J:7LLQ:ZHMV:V45L #宿主机ID
Docker Root Dir: /var/lib/docker #宿主机数据保存目录
Debug Mode: false #是否开启debug
Registry: https://index.docker.io/v1/ #镜像仓库
Labels: #其他标签
Experimental: false #是否是测试版
Insecure Registries: #非安全的镜像仓库
127.0.0.0/8
Live Restore Enabled: false #是否开启活动重启(重启docker-daemon不关闭容器)
Product License: Community Engine #产品许可证