Docker is not running
The Docker daemon did not answer. On macOS and Windows that almost always means Docker Desktop is closed.
The fix
macOS and Windows: open Docker Desktop and wait for its icon to stop animating. It is an application, and nothing works until it is running.
Linux: start the service.
$sudo systemctl start docker$sudo systemctl enable docker # and at every boot
Why it happens
The message rarely says "Docker Desktop is closed". It says something about a socket or a named pipe, because the client found no daemon at the end of one. That is why this is the most reported Docker error there is.
On Linux there is a second cause with a different message: your user is not in the docker group, so only sudo docker works. Add yourself and start a new session.
$sudo usermod -aG docker $USER$newgrp docker
You may not need Docker at all. A project on SQLite with local file storage runs with nothing but Go and Node. Scaffold one with grit new myapp --db sqlite --storage local, and skip the container checks with grit doctor --env --no-docker.
How to tell it worked
$docker run --rm hello-world
Still stuck? The troubleshooting page covers more, and the errors guide lists every message with its cause. Running grit doctor --env checks this machine for all of them at once.
