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