github.com/brahmaroutu/docker@v1.2.1-0.20160809185609-eb28dde01f16/docs/reference/commandline/info.md (about)

     1  <!--[metadata]>
     2  +++
     3  title = "info"
     4  description = "The info command description and usage"
     5  keywords = ["display, docker, information"]
     6  [menu.main]
     7  parent = "smn_cli"
     8  +++
     9  <![end-metadata]-->
    10  
    11  # info
    12  
    13  ```markdown
    14  Usage:  docker info
    15  
    16  Display system-wide information
    17  
    18  Options:
    19        --help   Print usage
    20  ```
    21  
    22  This command displays system wide information regarding the Docker installation.
    23  Information displayed includes the kernel version, number of containers and images.
    24  The number of images shown is the number of unique images. The same image tagged
    25  under different names is counted only once.
    26  
    27  Depending on the storage driver in use, additional information can be shown, such
    28  as pool name, data file, metadata file, data space used, total data space, metadata
    29  space used, and total metadata space.
    30  
    31  The data file is where the images are stored and the metadata file is where the
    32  meta data regarding those images are stored. When run for the first time Docker
    33  allocates a certain amount of data space and meta data space from the space
    34  available on the volume where `/var/lib/docker` is mounted.
    35  
    36  # EXAMPLES
    37  
    38  ## Display Docker system information
    39  
    40  Here is a sample output for a daemon running on Ubuntu, using the overlay
    41  storage driver and a node that is part of a 2-node swarm:
    42  
    43      $ docker -D info
    44      Containers: 14
    45       Running: 3
    46       Paused: 1
    47       Stopped: 10
    48      Images: 52
    49      Server Version: 1.12.0-dev
    50      Storage Driver: overlay
    51       Backing Filesystem: extfs
    52      Logging Driver: json-file
    53      Cgroup Driver: cgroupfs
    54      Plugins:
    55       Volume: local
    56       Network: bridge null host overlay
    57      Swarm: 
    58       NodeID: 0gac67oclbxq7
    59       Is Manager: true
    60       Managers: 2
    61       Nodes: 2
    62      Runtimes: default
    63      Default Runtime: default
    64      Security Options: apparmor seccomp
    65      Kernel Version: 4.4.0-21-generic
    66      Operating System: Ubuntu 16.04 LTS
    67      OSType: linux
    68      Architecture: x86_64
    69      CPUs: 24
    70      Total Memory: 62.86 GiB
    71      Name: docker
    72      ID: I54V:OLXT:HVMM:TPKO:JPHQ:CQCD:JNLC:O3BZ:4ZVJ:43XJ:PFHZ:6N2S
    73      Docker Root Dir: /var/lib/docker
    74      Debug mode (client): true
    75      Debug mode (server): true
    76       File Descriptors: 59
    77       Goroutines: 159
    78       System Time: 2016-04-26T10:04:06.14689342-04:00
    79       EventsListeners: 0
    80      Http Proxy: http://test:test@localhost:8080
    81      Https Proxy: https://test:test@localhost:8080
    82      No Proxy: localhost,127.0.0.1,docker-registry.somecorporation.com
    83      Username: svendowideit
    84      Registry: https://index.docker.io/v1/
    85      WARNING: No swap limit support
    86      Labels:
    87       storage=ssd
    88       staging=true
    89      Insecure registries:
    90       myinsecurehost:5000
    91       127.0.0.0/8
    92  
    93  The global `-D` option tells all `docker` commands to output debug information.
    94  
    95  The example below shows the output for a daemon running on Red Hat Enterprise Linux,
    96  using the devicemapper storage driver. As can be seen in the output, additional
    97  information about the devicemapper storage driver is shown:
    98  
    99      $ docker info
   100      Containers: 14
   101       Running: 3
   102       Paused: 1
   103       Stopped: 10
   104      Untagged Images: 52
   105      Server Version: 1.10.3
   106      Storage Driver: devicemapper
   107       Pool Name: docker-202:2-25583803-pool
   108       Pool Blocksize: 65.54 kB
   109       Base Device Size: 10.74 GB
   110       Backing Filesystem: xfs
   111       Data file: /dev/loop0
   112       Metadata file: /dev/loop1
   113       Data Space Used: 1.68 GB
   114       Data Space Total: 107.4 GB
   115       Data Space Available: 7.548 GB
   116       Metadata Space Used: 2.322 MB
   117       Metadata Space Total: 2.147 GB
   118       Metadata Space Available: 2.145 GB
   119       Udev Sync Supported: true
   120       Deferred Removal Enabled: false
   121       Deferred Deletion Enabled: false
   122       Deferred Deleted Device Count: 0
   123       Data loop file: /var/lib/docker/devicemapper/devicemapper/data
   124       Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
   125       Library Version: 1.02.107-RHEL7 (2015-12-01)
   126      Execution Driver: native-0.2
   127      Logging Driver: json-file
   128      Plugins:
   129       Volume: local
   130       Network: null host bridge
   131      Kernel Version: 3.10.0-327.el7.x86_64
   132      Operating System: Red Hat Enterprise Linux Server 7.2 (Maipo)
   133      OSType: linux
   134      Architecture: x86_64
   135      CPUs: 1
   136      Total Memory: 991.7 MiB
   137      Name: ip-172-30-0-91.ec2.internal
   138      ID: I54V:OLXT:HVMM:TPKO:JPHQ:CQCD:JNLC:O3BZ:4ZVJ:43XJ:PFHZ:6N2S
   139      Docker Root Dir: /var/lib/docker
   140      Debug mode (client): false
   141      Debug mode (server): false
   142      Username: xyz
   143      Registry: https://index.docker.io/v1/
   144      Insecure registries:
   145       myinsecurehost:5000
   146       127.0.0.0/8