Update docs for `docker info` for most recent changes.

This fix updates docs for `docker info` for most recent changes.
It also made several chagnes:
1. Replace 0.12.0-dev to 0.13.0 for api docs v1.24.
2. Replace 0.13.0-dev to 0.13.0 for api docs v1.25

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang 2016-11-11 09:01:57 -08:00 committed by Tibor Vass
parent b1948be830
commit 241694402f
2 changed files with 102 additions and 54 deletions

View File

@ -47,7 +47,7 @@ available on the volume where `/var/lib/docker` is mounted.
## Display Docker system information ## Display Docker system information
Here is a sample output for a daemon running on Ubuntu, using the overlay Here is a sample output for a daemon running on Ubuntu, using the overlay2
storage driver and a node that is part of a 2-node swarm: storage driver and a node that is part of a 2-node swarm:
$ docker -D info $ docker -D info
@ -56,49 +56,72 @@ storage driver and a node that is part of a 2-node swarm:
Paused: 1 Paused: 1
Stopped: 10 Stopped: 10
Images: 52 Images: 52
Server Version: 1.12.0-dev Server Version: 1.13.0
Storage Driver: overlay Storage Driver: overlay2
Backing Filesystem: extfs Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: false
Logging Driver: json-file Logging Driver: json-file
Cgroup Driver: cgroupfs Cgroup Driver: cgroupfs
Plugins: Plugins:
Volume: local Volume: local
Network: bridge null host overlay Network: bridge host macvlan null overlay
Swarm: Swarm: active
NodeID: 0gac67oclbxq7 NodeID: rdjq45w1op418waxlairloqbm
Is Manager: true Is Manager: true
Managers: 2 ClusterID: te8kdyw33n36fqiz74bfjeixd
Managers: 1
Nodes: 2 Nodes: 2
Runtimes: default Orchestration:
Default Runtime: default Task History Retention Limit: 5
Security Options: apparmor seccomp Raft:
Kernel Version: 4.4.0-21-generic Snapshot Interval: 10000
Operating System: Ubuntu 16.04 LTS Number of Old Snapshots to Retain: 0
Heartbeat Tick: 1
Election Tick: 3
Dispatcher:
Heartbeat Period: 5 seconds
CA Configuration:
Expiry Duration: 3 months
Node Address: 172.16.66.128 172.16.66.129
Manager Addresses:
172.16.66.128:2477
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 8517738ba4b82aff5662c97ca4627e7e4d03b531
runc version: ac031b5bf1cc92239461125f4c1ffb760522bbf2
init version: N/A (expected: v0.13.0)
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.4.0-31-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux OSType: linux
Architecture: x86_64 Architecture: x86_64
CPUs: 24 CPUs: 2
Total Memory: 62.86 GiB Total Memory: 1.937 GiB
Name: docker Name: ubuntu
ID: I54V:OLXT:HVMM:TPKO:JPHQ:CQCD:JNLC:O3BZ:4ZVJ:43XJ:PFHZ:6N2S ID: H52R:7ZR6:EIIA:76JG:ORIY:BVKF:GSFU:HNPG:B5MK:APSC:SZ3Q:N326
Docker Root Dir: /var/lib/docker Docker Root Dir: /var/lib/docker
Debug mode (client): true Debug Mode (client): true
Debug mode (server): true Debug Mode (server): true
File Descriptors: 59 File Descriptors: 30
Goroutines: 159 Goroutines: 123
System Time: 2016-04-26T10:04:06.14689342-04:00 System Time: 2016-11-12T17:24:37.955404361-08:00
EventsListeners: 0 EventsListeners: 0
Http Proxy: http://test:test@localhost:8080 Http Proxy: http://proxy.example.com:80/
Https Proxy: https://test:test@localhost:8080
No Proxy: localhost,127.0.0.1,docker-registry.somecorporation.com No Proxy: localhost,127.0.0.1,docker-registry.somecorporation.com
Username: svendowideit
Registry: https://index.docker.io/v1/ Registry: https://index.docker.io/v1/
WARNING: No swap limit support WARNING: No swap limit support
Labels: Labels:
storage=ssd storage=ssd
staging=true staging=true
Insecure registries: Experimental: false
myinsecurehost:5000 Insecure Registries:
127.0.0.0/8 127.0.0.0/8
Live Restore Enabled: false
The global `-D` option tells all `docker` commands to output debug information. The global `-D` option tells all `docker` commands to output debug information.
@ -168,7 +191,7 @@ Here is a sample output for a daemon running on Windows Server 2016:
Paused: 0 Paused: 0
Stopped: 1 Stopped: 1
Images: 17 Images: 17
Server Version: 1.13.0-dev Server Version: 1.13.0
Storage Driver: windowsfilter Storage Driver: windowsfilter
Windows: Windows:
Logging Driver: json-file Logging Driver: json-file

View File

@ -39,7 +39,7 @@ available on the volume where `/var/lib/docker` is mounted.
## Display Docker system information ## Display Docker system information
Here is a sample output for a daemon running on Ubuntu, using the overlay Here is a sample output for a daemon running on Ubuntu, using the overlay2
storage driver: storage driver:
$ docker -D info $ docker -D info
@ -48,49 +48,74 @@ storage driver:
Paused: 1 Paused: 1
Stopped: 10 Stopped: 10
Images: 52 Images: 52
Server Version: 1.12.0-dev Server Version: 1.13.0
Storage Driver: overlay Storage Driver: overlay2
Backing Filesystem: extfs Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: false
Logging Driver: json-file Logging Driver: json-file
Cgroup Driver: cgroupfs Cgroup Driver: cgroupfs
Plugins: Plugins:
Volume: local Volume: local
Network: bridge null host overlay Network: bridge host macvlan null overlay
Swarm: Swarm: active
NodeID: 0gac67oclbxq7 NodeID: rdjq45w1op418waxlairloqbm
IsManager: YES Is Manager: true
Managers: 2 ClusterID: te8kdyw33n36fqiz74bfjeixd
Managers: 1
Nodes: 2 Nodes: 2
Runtimes: default Orchestration:
Default Runtime: default Task History Retention Limit: 5
Security Options: apparmor seccomp Raft:
Kernel Version: 4.4.0-21-generic Snapshot Interval: 10000
Operating System: Ubuntu 16.04 LTS Number of Old Snapshots to Retain: 0
Heartbeat Tick: 1
Election Tick: 3
Dispatcher:
Heartbeat Period: 5 seconds
CA Configuration:
Expiry Duration: 3 months
Node Address: 172.16.66.128 172.16.66.129
Manager Addresses:
172.16.66.128:2477
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 8517738ba4b82aff5662c97ca4627e7e4d03b531
runc version: ac031b5bf1cc92239461125f4c1ffb760522bbf2
init version: N/A (expected: v0.13.0)
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.4.0-31-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux OSType: linux
Architecture: x86_64 Architecture: x86_64
CPUs: 24 CPUs: 2
Total Memory: 62.86 GiB Total Memory: 1.937 GiB
Name: docker Name: ubuntu
ID: I54V:OLXT:HVMM:TPKO:JPHQ:CQCD:JNLC:O3BZ:4ZVJ:43XJ:PFHZ:6N2S ID: H52R:7ZR6:EIIA:76JG:ORIY:BVKF:GSFU:HNPG:B5MK:APSC:SZ3Q:N326
Docker Root Dir: /var/lib/docker Docker Root Dir: /var/lib/docker
Debug mode (client): true Debug Mode (client): true
Debug mode (server): true Debug Mode (server): true
File Descriptors: 59 File Descriptors: 30
Goroutines: 159 Goroutines: 123
System Time: 2016-04-26T10:04:06.14689342-04:00 System Time: 2016-11-12T17:24:37.955404361-08:00
EventsListeners: 0 EventsListeners: 0
Http Proxy: http://test:test@localhost:8080 Http Proxy: http://proxy.example.com:80/
Https Proxy: https://test:test@localhost:8080
No Proxy: localhost,127.0.0.1,docker-registry.somecorporation.com No Proxy: localhost,127.0.0.1,docker-registry.somecorporation.com
Username: svendowideit
Registry: https://index.docker.io/v1/ Registry: https://index.docker.io/v1/
WARNING: No swap limit support WARNING: No swap limit support
Labels: Labels:
storage=ssd storage=ssd
staging=true staging=true
Insecure registries: Experimental: false
myinsecurehost:5000 Insecure Registries:
127.0.0.0/8 127.0.0.0/8
Live Restore Enabled: false
The global `-D` option tells all `docker` commands to output debug information. The global `-D` option tells all `docker` commands to output debug information.