查看版本
[root@localhost ~]# docker version Client: #客户端 Version: 18.09.4 #docker版本 API version: 1.39 #Docker接口版本 Go version: go1.10.8 # Docker Go版本 Git commit: d14af54266 Built: Wed Mar 27 18:34:51 2019 OS/Arch: linux/amd64 # 系统 Experimental: false # 是否为企业版 Server: Docker Engine - Community Engine: Version: 18.09.4 API version: 1.39 (minimum version 1.12) Go version: go1.10.8 Git commit: d14af54 Built: Wed Mar 27 18:04:46 2019 OS/Arch: linux/amd64 Experimental: false You have new mail in /var/spool/mail/root
详细信息
[root@localhost ~]# docker info Containers: 0 #容器个数 Running: 0 # 运行 Paused: 0 # 暂停 Stopped: 0 # 停止 Images: 0 # 镜像 Server Version: 18.09.4 #服务器版本 Storage Driver: overlay2 #存储驱动后端 很重要 分层构建和联合挂载 需要专门的文件驱动在之前可能是使用的DM 性能奇差 Backing Filesystem: xfs Supports d_type: true Native Overlay Diff: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: # 插件 Volume: local #卷 Network: bridge host 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: bb71b10fd8f58240ca47fbb579b9d1028eea7c84 runc version: 2b18fe1d885ee5083ef9f0838fee39b62d653e30 init version: fec3683 Security Options: #安全选项 seccomp Profile: default #默认选项 Kernel Version: 3.10.0-957.10.1.el7.x86_64 Operating System: CentOS Linux 7 (Core) OSType: linux Architecture: x86_64 CPUs: 1 Total Memory: 3.683GiB Name: localhost.localdomain ID: BUTI:XQW2:K5UQ:SNVB:EC67:GBOV:LHZD:FI2G:UFL2:TU4H:FSCN:PQAU Docker Root Dir: /var/lib/docker Debug Mode (client): false Debug Mode (server): false Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Registry Mirrors: https://registry.docker-cn.com/ #加速镜像配置 Live Restore Enabled: false Product License: Community Engine