检查docker版本的两个命令
检查docker版本的两个命令来自:https://docs.docker.com/get-started/#test-docker-installation[root@oradoc mnt]# docker --versionDocker version 17.06.2-ol, build d02b7ab[root@oradoc mnt]# docker infoContainers: 2...
·
检查docker版本的两个命令
来自:https://docs.docker.com/get-started/#test-docker-installation
[root@oradoc mnt]# docker --version
Docker version 17.06.2-ol, build d02b7ab
[root@oradoc mnt]# docker info
Containers: 2
Running: 0
Paused: 0
Stopped: 2
Images: 17
Server Version: 17.06.2-ol ---->>>>此处
Storage Driver: devicemapper
Pool Name: docker-251:0-878943-pool
Pool Blocksize: 65.54kB
Base Device Size: 26.84GB
Backing Filesystem: xfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 13.53GB
Data Space Total: 107.4GB
Data Space Available: 66.21GB
Metadata Space Used: 8.72MB
Metadata Space Total: 2.147GB
Metadata Space Available: 2.139GB
Thin Pool Minimum Free Space: 10.74GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.135-RHEL7 (2016-09-28)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 6e23458c129b551d5c9871e5174f6b1b7f6d1170
runc version: 810190ceaa507aa2727d7ae6f4790c76ec150bd2
init version: 949e6fa
Security Options:
seccomp
Profile: default
selinux
Kernel Version: 4.1.12-61.1.18.el7uek.x86_64
Operating System: Oracle Linux Server 7.3
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.544GiB
Name: oradoc
ID: 24KS:GMP4:RCQQ:NBEX:4YDV:CMJJ:RGXB:TTYA:PHHV:QAHJ:KSV4:AECW
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
WARNING: devicemapper: usage of loopback devices is strongly discouraged for production use.
Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
[root@oradoc mnt]#
更多推荐
已为社区贡献2条内容
所有评论(0)