Client and Server sections. Use the instructions for your Docker installation if the Server section is missing or reports a connection error.
macOS with Docker Desktop
- Start Docker Desktop and wait for the engine to report that it is running.
- Open Settings > Advanced.
- Enable Allow the default Docker socket to be used, then apply the change.
- Run
docker versionagain.
/var/run/docker.sock for SDK clients that use the default socket path. See Docker’s macOS permission requirements and Advanced settings.
If you cannot enable the setting, point the SDK to Docker Desktop’s per-user socket before running Agno:
Linux with Docker Desktop
Docker Desktop for Linux uses thedesktop-linux context and a per-user socket instead of /var/run/docker.sock.
Start Docker Desktop, then run:
DOCKER_HOST configures SDK clients such as the one Agno uses. See Using Docker SDKs with Docker Desktop for Linux.
Linux with Docker Engine
Start the Docker daemon:sudo docker version succeeds but docker version fails with a permission error, add your user to the docker group:
docker version again. The docker group grants root-level privileges. Review Docker’s Linux post-installation steps before adding users to it.
See Start the daemon for distributions that do not use systemd.
Windows with Docker Desktop
Start Docker Desktop from the Start menu and wait for the engine to report that it is running. Rundocker version from the same PowerShell, Command Prompt, or WSL distribution where you run Agno.
Windows clients use the npipe:////./pipe/docker_engine named pipe by default. Do not create a /var/run/docker.sock symlink in PowerShell or Command Prompt. Remove a DOCKER_HOST value that points to a Unix socket, then retry. See Docker’s daemon socket reference.
If you run Agno inside WSL, enable that distribution under Docker Desktop > Settings > Resources > WSL Integration, apply the change, and retry from the WSL shell. See Enable Docker in a WSL 2 distribution.
If Docker Desktop itself does not start, use the Docker Desktop troubleshooting guide.