github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/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 The example below shows the output for a daemon running on Ubuntu Linux, 24 using the `overlay2` storage driver. As can be seen in the output, additional 25 information about the `overlay2` storage driver is shown: 26 27 ```console 28 $ docker info 29 30 Client: 31 Context: default 32 Debug Mode: false 33 Plugins: 34 buildx: Docker Buildx (Docker Inc.) 35 Version: v0.8.2 36 Path: /usr/libexec/docker/cli-plugins/docker-buildx 37 compose: Docker Compose (Docker Inc.) 38 Version: v2.6.0 39 Path: /usr/libexec/docker/cli-plugins/docker-compose 40 scan: Docker Scan (Docker Inc.) 41 Version: v0.17.0 42 Path: /usr/libexec/docker/cli-plugins/docker-scan 43 44 Server: 45 Containers: 14 46 Running: 3 47 Paused: 1 48 Stopped: 10 49 Images: 52 50 Server Version: 22.06.0 51 Storage Driver: overlay2 52 Backing Filesystem: extfs 53 Supports d_type: true 54 Using metacopy: false 55 Native Overlay Diff: true 56 userxattr: false 57 Logging Driver: json-file 58 Cgroup Driver: systemd 59 Cgroup Version: 2 60 Plugins: 61 Volume: local 62 Network: bridge host ipvlan macvlan null overlay 63 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog 64 Swarm: inactive 65 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc 66 Default Runtime: runc 67 Init Binary: docker-init 68 containerd version: 212e8b6fa2f44b9c21b2798135fc6fb7c53efc16 69 runc version: v1.1.1-0-g52de29d 70 init version: de40ad0 71 Security Options: 72 apparmor 73 seccomp 74 Profile: builtin 75 cgroupns 76 Kernel Version: 5.15.0-25-generic 77 Operating System: Ubuntu 22.04 LTS 78 OSType: linux 79 Architecture: x86_64 80 CPUs: 1 81 Total Memory: 991.7 MiB 82 Name: ip-172-30-0-91.ec2.internal 83 ID: 4cee4408-10d2-4e17-891c-a41736ac4536 84 Docker Root Dir: /var/lib/docker 85 Debug Mode: false 86 Username: gordontheturtle 87 Registry: https://index.docker.io/v1/ 88 Experimental: false 89 Insecure registries: 90 myinsecurehost:5000 91 127.0.0.0/8 92 Live Restore Enabled: false 93 ``` 94 95 You can also specify the output format: 96 97 $ docker info --format '{{json .}}' 98 {"ID":"I54V:OLXT:HVMM:TPKO:JPHQ:CQCD:JNLC:O3BZ:4ZVJ:43XJ:PFHZ:6N2S","Containers":14, ...}