github.com/docker/docker-ce@v17.12.1-ce-rc2+incompatible/components/cli/man/src/system/info.md (about)

     1  This command displays system wide information regarding the Docker installation.
     2  Information displayed includes the kernel version, number of containers and images.
     3  The number of images shown is the number of unique images. The same image tagged
     4  under different names is counted only once.
     5  
     6  If a format is specified, the given template will be executed instead of the
     7  default format. Go's **text/template** package
     8  describes all the details of the format.
     9  
    10  Depending on the storage driver in use, additional information can be shown, such
    11  as pool name, data file, metadata file, data space used, total data space, metadata
    12  space used, and total metadata space.
    13  
    14  The data file is where the images are stored and the metadata file is where the
    15  meta data regarding those images are stored. When run for the first time Docker
    16  allocates a certain amount of data space and meta data space from the space
    17  available on the volume where `/var/lib/docker` is mounted.
    18  
    19  # EXAMPLES
    20  
    21  ## Display Docker system information
    22  
    23  Here is a sample output for a daemon running on Ubuntu, using the overlay2
    24  storage driver:
    25  
    26      $ docker -D info
    27      Containers: 14
    28       Running: 3
    29       Paused: 1
    30       Stopped: 10
    31      Images: 52
    32      Server Version: 1.13.0
    33      Storage Driver: overlay2
    34       Backing Filesystem: extfs
    35       Supports d_type: true
    36       Native Overlay Diff: false
    37      Logging Driver: json-file
    38      Cgroup Driver: cgroupfs
    39      Plugins:
    40       Volume: local
    41       Network: bridge host macvlan null overlay
    42      Swarm: active
    43       NodeID: rdjq45w1op418waxlairloqbm
    44       Is Manager: true
    45       ClusterID: te8kdyw33n36fqiz74bfjeixd
    46       Managers: 1
    47       Nodes: 2
    48       Orchestration:
    49        Task History Retention Limit: 5
    50       Raft:
    51        Snapshot Interval: 10000
    52        Number of Old Snapshots to Retain: 0
    53        Heartbeat Tick: 1
    54        Election Tick: 3
    55       Dispatcher:
    56        Heartbeat Period: 5 seconds
    57       CA Configuration:
    58        Expiry Duration: 3 months
    59       Node Address: 172.16.66.128 172.16.66.129
    60       Manager Addresses:
    61        172.16.66.128:2477
    62      Runtimes: runc
    63      Default Runtime: runc
    64      Init Binary: docker-init
    65      containerd version: 8517738ba4b82aff5662c97ca4627e7e4d03b531
    66      runc version: ac031b5bf1cc92239461125f4c1ffb760522bbf2
    67      init version: N/A (expected: v0.13.0)
    68      Security Options:
    69       apparmor
    70       seccomp
    71        Profile: default
    72      Kernel Version: 4.4.0-31-generic
    73      Operating System: Ubuntu 16.04.1 LTS
    74      OSType: linux
    75      Architecture: x86_64
    76      CPUs: 2
    77      Total Memory: 1.937 GiB
    78      Name: ubuntu
    79      ID: H52R:7ZR6:EIIA:76JG:ORIY:BVKF:GSFU:HNPG:B5MK:APSC:SZ3Q:N326
    80      Docker Root Dir: /var/lib/docker
    81      Debug Mode (client): true
    82      Debug Mode (server): true
    83       File Descriptors: 30
    84       Goroutines: 123
    85       System Time: 2016-11-12T17:24:37.955404361-08:00
    86       EventsListeners: 0
    87      Http Proxy: http://test:test@proxy.example.com:8080
    88      Https Proxy: https://test:test@proxy.example.com:8080
    89      No Proxy: localhost,127.0.0.1,docker-registry.somecorporation.com
    90      Registry: https://index.docker.io/v1/
    91      WARNING: No swap limit support
    92      Labels:
    93       storage=ssd
    94       staging=true
    95      Experimental: false
    96      Insecure Registries:
    97       127.0.0.0/8
    98      Registry Mirrors:
    99        http://192.168.1.2/
   100        http://registry-mirror.example.com:5000/
   101      Live Restore Enabled: false
   102  
   103  
   104  
   105  The global `-D` option tells all `docker` commands to output debug information.
   106  
   107  The example below shows the output for a daemon running on Red Hat Enterprise Linux,
   108  using the devicemapper storage driver. As can be seen in the output, additional
   109  information about the devicemapper storage driver is shown:
   110  
   111      $ docker info
   112      Containers: 14
   113       Running: 3
   114       Paused: 1
   115       Stopped: 10
   116      Untagged Images: 52
   117      Server Version: 1.10.3
   118      Storage Driver: devicemapper
   119       Pool Name: docker-202:2-25583803-pool
   120       Pool Blocksize: 65.54 kB
   121       Base Device Size: 10.74 GB
   122       Backing Filesystem: xfs
   123       Data file: /dev/loop0
   124       Metadata file: /dev/loop1
   125       Data Space Used: 1.68 GB
   126       Data Space Total: 107.4 GB
   127       Data Space Available: 7.548 GB
   128       Metadata Space Used: 2.322 MB
   129       Metadata Space Total: 2.147 GB
   130       Metadata Space Available: 2.145 GB
   131       Udev Sync Supported: true
   132       Deferred Removal Enabled: false
   133       Deferred Deletion Enabled: false
   134       Deferred Deleted Device Count: 0
   135       Data loop file: /var/lib/docker/devicemapper/devicemapper/data
   136       Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
   137       Library Version: 1.02.107-RHEL7 (2015-12-01)
   138      Execution Driver: native-0.2
   139      Logging Driver: json-file
   140      Plugins:
   141       Volume: local
   142       Network: null host bridge
   143      Kernel Version: 3.10.0-327.el7.x86_64
   144      Operating System: Red Hat Enterprise Linux Server 7.2 (Maipo)
   145      OSType: linux
   146      Architecture: x86_64
   147      CPUs: 1
   148      Total Memory: 991.7 MiB
   149      Name: ip-172-30-0-91.ec2.internal
   150      ID: I54V:OLXT:HVMM:TPKO:JPHQ:CQCD:JNLC:O3BZ:4ZVJ:43XJ:PFHZ:6N2S
   151      Docker Root Dir: /var/lib/docker
   152      Debug mode (client): false
   153      Debug mode (server): false
   154      Username: gordontheturtle
   155      Registry: https://index.docker.io/v1/
   156      Insecure registries:
   157       myinsecurehost:5000
   158       127.0.0.0/8
   159  
   160  You can also specify the output format:
   161  
   162      $ docker info --format '{{json .}}'
   163  	{"ID":"I54V:OLXT:HVMM:TPKO:JPHQ:CQCD:JNLC:O3BZ:4ZVJ:43XJ:PFHZ:6N2S","Containers":14, ...}