1DOCKER(1)                          JUNE 2014                         DOCKER(1)
2
3
4

NAME

6       docker-info - Display system-wide information
7
8
9

SYNOPSIS

11       docker info [--help] [-f|--format[=FORMAT]]
12
13
14

DESCRIPTION

16       This command displays system wide information regarding the Docker
17       installation.  Information displayed includes the kernel version,
18       number of containers and images.  The number of images shown is the
19       number of unique images. The same image tagged under different names is
20       counted only once.
21
22
23       If a format is specified, the given template will be executed instead
24       of the default format. Go's text/template package describes all the
25       details of the format.
26
27
28       Depending on the storage driver in use, additional information can be
29       shown, such as pool name, data file, metadata file, data space used,
30       total data space, metadata space used, and total metadata space.
31
32
33       The data file is where the images are stored and the metadata file is
34       where the meta data regarding those images are stored. When run for the
35       first time Docker allocates a certain amount of data space and meta
36       data space from the space available on the volume where /var/lib/docker
37       is mounted.
38
39
40

OPTIONS

42       --help
43         Print usage statement
44
45
46       -f, --format=""
47         Format the output using the given Go template
48
49
50

EXAMPLES

Display Docker system information

53       Here is a sample output for a daemon running on Ubuntu, using the
54       overlay2 storage driver:
55
56
57              $ docker -D info
58              Containers: 14
59               Running: 3
60               Paused: 1
61               Stopped: 10
62              Images: 52
63              Server Version: 1.13.0
64              Storage Driver: overlay2
65               Backing Filesystem: extfs
66               Supports d_type: true
67               Native Overlay Diff: false
68              Logging Driver: json-file
69              Cgroup Driver: cgroupfs
70              Plugins:
71               Volume: local
72               Network: bridge host macvlan null overlay
73              Swarm: active
74               NodeID: rdjq45w1op418waxlairloqbm
75               Is Manager: true
76               ClusterID: te8kdyw33n36fqiz74bfjeixd
77               Managers: 1
78               Nodes: 2
79               Orchestration:
80                Task History Retention Limit: 5
81               Raft:
82                Snapshot Interval: 10000
83                Number of Old Snapshots to Retain: 0
84                Heartbeat Tick: 1
85                Election Tick: 3
86               Dispatcher:
87                Heartbeat Period: 5 seconds
88               CA Configuration:
89                Expiry Duration: 3 months
90               Node Address: 172.16.66.128 172.16.66.129
91               Manager Addresses:
92                172.16.66.128:2477
93              Runtimes: runc
94              Default Runtime: runc
95              Init Binary: docker-init
96              containerd version: 8517738ba4b82aff5662c97ca4627e7e4d03b531
97              runc version: ac031b5bf1cc92239461125f4c1ffb760522bbf2
98              init version: N/A (expected: v0.13.0)
99              Security Options:
100               apparmor
101               seccomp
102                Profile: default
103              Kernel Version: 4.4.0-31-generic
104              Operating System: Ubuntu 16.04.1 LTS
105              OSType: linux
106              Architecture: x86_64
107              Number of Hooks: 2
108              CPUs: 2
109              Total Memory: 1.937 GiB
110              Name: ubuntu
111              ID: H52R:7ZR6:EIIA:76JG:ORIY:BVKF:GSFU:HNPG:B5MK:APSC:SZ3Q:N326
112              Docker Root Dir: /var/lib/docker
113              Debug Mode (client): true
114              Debug Mode (server): true
115               File Descriptors: 30
116               Goroutines: 123
117               System Time: 2016-11-12T17:24:37.955404361-08:00
118               EventsListeners: 0
119              Http Proxy: http://test:test@proxy.example.com:8080
120              Https Proxy: https://test:test@proxy.example.com:8080
121              No Proxy: localhost,127.0.0.1,docker-registry.somecorporation.com
122              Registry: https://index.docker.io/v1/
123              WARNING: No swap limit support
124              Labels:
125               storage=ssd
126               staging=true
127              Experimental: false
128              Insecure Registries:
129               127.0.0.0/8
130              Registry Mirrors:
131                http://192.168.1.2/
132                http://registry-mirror.example.com:5000/
133              Live Restore Enabled: false
134
135
136
137       The global -D option tells all docker commands to output debug
138       information.
139
140
141       The example below shows the output for a daemon running on Red Hat
142       Enterprise Linux, using the devicemapper storage driver. As can be seen
143       in the output, additional information about the devicemapper storage
144       driver is shown:
145
146
147              $ docker info
148              Containers: 14
149               Running: 3
150               Paused: 1
151               Stopped: 10
152              Untagged Images: 52
153              Server Version: 1.10.3
154              Storage Driver: devicemapper
155               Pool Name: docker-202:2-25583803-pool
156               Pool Blocksize: 65.54 kB
157               Base Device Size: 10.74 GB
158               Backing Filesystem: xfs
159               Data file: /dev/loop0
160               Metadata file: /dev/loop1
161               Data Space Used: 1.68 GB
162               Data Space Total: 107.4 GB
163               Data Space Available: 7.548 GB
164               Metadata Space Used: 2.322 MB
165               Metadata Space Total: 2.147 GB
166               Metadata Space Available: 2.145 GB
167               Udev Sync Supported: true
168               Deferred Removal Enabled: false
169               Deferred Deletion Enabled: false
170               Deferred Deleted Device Count: 0
171               Data loop file: /var/lib/docker/devicemapper/devicemapper/data
172               Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
173               Library Version: 1.02.107-RHEL7 (2015-12-01)
174              Execution Driver: native-0.2
175              Logging Driver: json-file
176              Plugins:
177               Volume: local
178               Network: null host bridge
179              Kernel Version: 3.10.0-327.el7.x86_64
180              Operating System: Red Hat Enterprise Linux Server 7.2 (Maipo)
181              OSType: linux
182              Architecture: x86_64
183              CPUs: 1
184              Total Memory: 991.7 MiB
185              Name: ip-172-30-0-91.ec2.internal
186              ID: I54V:OLXT:HVMM:TPKO:JPHQ:CQCD:JNLC:O3BZ:4ZVJ:43XJ:PFHZ:6N2S
187              Docker Root Dir: /var/lib/docker
188              Debug mode (client): false
189              Debug mode (server): false
190              Username: gordontheturtle
191              Registry: https://index.docker.io/v1/
192              Insecure registries:
193               myinsecurehost:5000
194               127.0.0.0/8
195              Registries: docker.io (secure), 127.0.0.0/8 (insecure)
196
197
198
199       You can also specify the output format:
200
201
202              $ docker info --format '{{json .}}'
203              {"ID":"I54V:OLXT:HVMM:TPKO:JPHQ:CQCD:JNLC:O3BZ:4ZVJ:43XJ:PFHZ:6N2S","Containers":14, ...}
204
205
206
207

HISTORY

209       April 2014, Originally compiled by William Henry (whenry at redhat dot
210       com) based on docker.com source material and internal work.  June 2014,
211       updated by Sven Dowideit ⟨SvenDowideit@home.org.au⟩
212
213
214
215Docker Community              Docker User Manuals                    DOCKER(1)
Impressum