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