github.com/noxiouz/docker@v0.7.3-0.20160629055221-3d231c78e8c5/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.12.0-dev 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 overlay 56 Swarm: 57 NodeID: 0gac67oclbxq7 58 IsManager: YES 59 Managers: 2 60 Nodes: 2 61 Runtimes: default 62 Default Runtime: default 63 Security Options: apparmor seccomp 64 Kernel Version: 4.4.0-21-generic 65 Operating System: Ubuntu 16.04 LTS 66 OSType: linux 67 Architecture: x86_64 68 CPUs: 24 69 Total Memory: 62.86 GiB 70 Name: docker 71 ID: I54V:OLXT:HVMM:TPKO:JPHQ:CQCD:JNLC:O3BZ:4ZVJ:43XJ:PFHZ:6N2S 72 Docker Root Dir: /var/lib/docker 73 Debug mode (client): true 74 Debug mode (server): true 75 File Descriptors: 59 76 Goroutines: 159 77 System Time: 2016-04-26T10:04:06.14689342-04:00 78 EventsListeners: 0 79 Http Proxy: http://test:test@localhost:8080 80 Https Proxy: https://test:test@localhost:8080 81 No Proxy: localhost,127.0.0.1,docker-registry.somecorporation.com 82 Username: svendowideit 83 Registry: https://index.docker.io/v1/ 84 WARNING: No swap limit support 85 Labels: 86 storage=ssd 87 staging=true 88 Insecure registries: 89 myinsecurehost:5000 90 127.0.0.0/8 91 92 The global `-D` option tells all `docker` commands to output debug information. 93 94 The example below shows the output for a daemon running on Red Hat Enterprise Linux, 95 using the devicemapper storage driver. As can be seen in the output, additional 96 information about the devicemapper storage driver is shown: 97 98 $ docker info 99 Containers: 14 100 Running: 3 101 Paused: 1 102 Stopped: 10 103 Untagged Images: 52 104 Server Version: 1.10.3 105 Storage Driver: devicemapper 106 Pool Name: docker-202:2-25583803-pool 107 Pool Blocksize: 65.54 kB 108 Base Device Size: 10.74 GB 109 Backing Filesystem: xfs 110 Data file: /dev/loop0 111 Metadata file: /dev/loop1 112 Data Space Used: 1.68 GB 113 Data Space Total: 107.4 GB 114 Data Space Available: 7.548 GB 115 Metadata Space Used: 2.322 MB 116 Metadata Space Total: 2.147 GB 117 Metadata Space Available: 2.145 GB 118 Udev Sync Supported: true 119 Deferred Removal Enabled: false 120 Deferred Deletion Enabled: false 121 Deferred Deleted Device Count: 0 122 Data loop file: /var/lib/docker/devicemapper/devicemapper/data 123 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata 124 Library Version: 1.02.107-RHEL7 (2015-12-01) 125 Execution Driver: native-0.2 126 Logging Driver: json-file 127 Plugins: 128 Volume: local 129 Network: null host bridge 130 Kernel Version: 3.10.0-327.el7.x86_64 131 Operating System: Red Hat Enterprise Linux Server 7.2 (Maipo) 132 OSType: linux 133 Architecture: x86_64 134 CPUs: 1 135 Total Memory: 991.7 MiB 136 Name: ip-172-30-0-91.ec2.internal 137 ID: I54V:OLXT:HVMM:TPKO:JPHQ:CQCD:JNLC:O3BZ:4ZVJ:43XJ:PFHZ:6N2S 138 Docker Root Dir: /var/lib/docker 139 Debug mode (client): false 140 Debug mode (server): false 141 Username: xyz 142 Registry: https://index.docker.io/v1/ 143 Insecure registries: 144 myinsecurehost:5000 145 127.0.0.0/8