Skip to content

Install Docker and verify it works

Select an icon to see what it is.

Step 5 of 6

docker info shows how the engine is set up

docker info sends GET /info. The reply tells you the storage driver, the data directory, the cgroup version and driver, the number of containers and images, and the default runtime. This is the first place to look when something behaves oddly.

$ docker info

Response (excerpt, typical values on Linux)

{
"Driver": "overlay2"
"DockerRootDir": "/var/lib/docker"
"CgroupDriver": "systemd"
"CgroupVersion": "2"
"DefaultRuntime": "runc"
"ContainersRunning": 0
"Images": 0
}