docker info
Prints how the Docker Engine is set up: storage driver, default runtime, control group version, resources and more.
In more detail
Useful to confirm the storage driver (such as overlay2) and default runtime (runc), and to check how much memory and how many processors the engine sees. On Docker Desktop those resource figures are what you allotted to its virtual machine, not what your computer has.
Example
docker info -f '{{.Driver}} {{.CgroupVersion}}'Related terms
- storage driver — The part of the Docker daemon that decides how image layers and container writable layers are stored on disk.
- runc — The small program that actually creates a container by making the kernel calls for namespaces, control groups and the root filesystem.
- control group — A Linux kernel feature that limits how much memory, processor time and other resources a group of processes may use.
- docker version — Shows the version of the Docker CLI (Client) and of the Docker Engine it talks to (Server).
Taught in
- Docker, OCI, The Engine And The CLI — Docker Architecture & Production Containers
- From Local Containers To Kubernetes — Docker Architecture & Production Containers
- Twelve Lines, Ten Warnings: Dockerfile Instructions And hadolint — Docker Certified Associate (DCA) Exam Prep
- One Comma, No Engine: Installing And Configuring Docker Engine — Docker Certified Associate (DCA) Exam Prep
- Forty Gigabytes Of One Log: Logging Drivers And Their Options — Docker Certified Associate (DCA) Exam Prep
- Installation Sprint: Eight Configuration Calls — Docker Certified Associate (DCA) Exam Prep
- Four Questions From The Auditor: Swarm Security, Autolock And Content Trust — Docker Certified Associate (DCA) Exam Prep
- Security Sprint: Eight Questions On Defaults, Trust And Access — Docker Certified Associate (DCA) Exam Prep
- Two Containers, How Much Disk? Storage Drivers, Layers And devicemapper — Docker Certified Associate (DCA) Exam Prep