docker info Command
The docker info command is used to display 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, helping users understand the overall status 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 related to the Docker client.
ContextCurrent Docker context.Debug Mode: Whether the client has debug mode enabled.Plugins: Installed client plugins, such asbuildxandcompose。
Server: Information related to the Docker server (daemon).
Containers: Total number of containers.Running: Number of running containers.Paused: Number of paused containers.Stopped: Number of stopped containers.
Images: Total number of images.Server Version: The version number of the Docker daemon.Storage Driver: Storage driver in use (such asoverlay2)。Backing Filesystem: Backend filesystem type.Supports d_type: Support statusd_type。Native Overlay Diff: Whether the native Overlay filesystem is supported.Logging Driver: Logging driver in use (such asjson-file)。Cgroup Driver: The Cgroup driver in use (e.g.cgroupfs)。Cgroup Version: Cgroup version (such as1)。Plugins: List of server-side plugins, including volume, network, and logging plugins.Swarm: The status of Swarm mode (e.g.inactive)。Runtimes: Supported runtimes (e.g.runc)。Default Runtime: Default runtime (e.g.runc)。Init Binary: Init binary (such asdocker-init)。containerd version: usedcontainerdversion.runc version: usedruncversion.init version: usedinitversion.Security Options: Security options enabled (such asseccompandselinux)。Kernel Version: Kernel version.Operating System: Operating system name.OSType: Operating system type (such aslinux)。Architecture: System architecture (such asx86_64)。CPUs: number of CPUs.Total Memory: Total memory.Name: Docker hostname.ID: Docker instance ID.Docker Root Dir: Docker root directory.Debug Mode: Whether the server has debug mode enabled.File Descriptors: Number of file descriptors.Goroutines: number of Goroutines.System Time: System time.EventsListeners: Number of event listeners.
HTTP Proxy: Configured HTTP proxy.HTTPS ProxyConfigured HTTPS proxy.No Proxy: List of addresses not using proxy.Registry: Registry address in use.Labels: Configured labels.Experimental: Whether experimental features are enabled.Insecure Registries: List of configured insecure registries.Registry Mirrors: List of registry mirrors.Live Restore Enabled: Whether live restore is enabled.
WARNING: Warning messages (e.g., swap limit support not enabled).
other extensions