Skip to content

Verify Docker from Windows

Open a new PowerShell window (does not need to be elevated) and run:

Terminal window
docker --version
# Expected: Docker version XX.X.X, build XXXXXXX
docker ps
# Expected: empty table with column headers, no error
docker run --rm hello-world
# Expected: "Hello from Docker!" and "This message shows that your installation appears to be working correctly."

If docker run --rm hello-world prints the success message, Docker Desktop is installed and running on Windows.

MistakeWhat happensFix
Closing Docker Desktop before the engine startsdocker ps fails with “cannot connect to daemon”Start Docker Desktop from the Start menu; wait 30–60 seconds
Using an old PowerShell window opened before installdocker: command not foundClose the terminal and open a new PowerShell window
Hyper-V backend selected instead of WSL 2Poor WSL performance; WSL integration issuesSettings → General → enable Use the WSL 2 based engineApply & restart
Skipping Windows restart when installer requested itDocker fails to start or WSL option missingRestart Windows, then launch Docker Desktop again

Docker Desktop will run containers using the WSL2 backend, which provides better performance and resource usage than the legacy Hyper-V backend.