The docker info command
The docker info command displays detailed information about the Docker system, including the Docker version, storage driver, number of images, number of containers, and other important configuration information.
The docker info command is very useful and helps users understand the overall state of the Docker environment.
Syntax
docker info [OPTIONS]
Example
View Docker system information.
$ docker info
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc., 0.8.1)
compose: Docker Compose (Docker Inc., 2.3.3)
Server:
Containers: 3
Running: 1
Paused: 0
Stopped: 2
Images: 10
Server Version: 20.10.7
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: d71fcd7d8303cbf684402823e425e9dd2e99285d
runc version: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
init version: de40ad0
Security Options:
seccomp
Profile: default
selinux
Kernel Version: 5.10.25-linuxkit
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.942GiB
Name: docker-desktop
ID: 3WZ2:ZQ7K:6K4E:6ZCR:YITZ:GH2S:6NUB:HTB5:OS7K:AAUI:K7CC:JZL3
Docker Root Dir: /var/lib/docker
Debug Mode: true
File Descriptors: 45
Goroutines: 49
System Time: 2024-07-23T09:41:47.2527914Z
EventsListeners: 4
HTTP Proxy: http://proxy.example.com:80
HTTPS Proxy: https://proxy.example.com:443
No Proxy: localhost,127.0.0.1,docker-registry.example.com
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Registry Mirrors:
Live Restore Enabled: false
WARNING: No swap limit support
Output explanation
Client: Information about the Docker client.
Context: The current Docker context.Debug Mode: Whether debug mode is enabled on the client.Plugins: Installed client plugins, such asbuildxandcompose。
Server: Information about the Docker server (daemon).
Containers: The total number of containers.Running: The number of running containers.Paused: The number of paused containers.Stopped: The number of stopped containers.
Images: The total number of images.Server Version: The Docker server version.Storage Driver: The storage driver used (such asoverlay2)。Backing Filesystem: The backing filesystem type.Supports d_type: Whether it supportsd_type。Native Overlay Diff: Whether native Overlay filesystem is supported.Logging Driver: The logging driver used (such asjson-file)。Cgroup Driver: The Cgroup driver used (such ascgroupfs)。Cgroup Version: The Cgroup version (such as1)。Plugins: The list of server plugins, including volume, network, and logging plugins.Swarm: The status of Swarm mode (such asinactive)。Runtimes: Supported runtimes (such asrunc)。Default Runtime: The default runtime (such asrunc)。Init Binary: The init binary (such asdocker-init)。containerd version: Usedcontainerdversion.runc version: Usedruncversion.init version: Usedinitversion.Security Options: Enabled security options (such asseccompandselinux)。Kernel Version: The kernel version.Operating System: The operating system name.OSType: The operating system type (such aslinux)。Architecture: The system architecture (such asx86_64)。CPUs: The number of CPUs.Total Memory: Total memory.Name: The Docker hostname.ID: The Docker instance ID.Docker Root Dir: The Docker root directory.Debug Mode: Whether debug mode is enabled on the server.File Descriptors: The number of file descriptors.Goroutines: The number of Goroutines.System Time: The system time.EventsListeners: The number of event listeners.
HTTP Proxy: The configured HTTP proxy.HTTPS Proxy: The configured HTTPS proxy.No Proxy: The list of addresses that do not use a proxy.Registry: The registry addresses used.Labels: The configured labels.Experimental: Whether experimental features are enabled.Insecure Registries: The list of configured insecure registries.Registry Mirrors: The list of registry mirrors.Live Restore Enabled: Whether live restore is enabled.
WARNING: Warning messages (such as swap limit support not being enabled).
Docker Command Reference