Solutions to the most common Agent Zero issues. Find your problem below, fix it in minutes.
Docker Desktop fails to launch or shows an error on startup.
# Windows โ check WSL2 wsl --list --verbose wsl --set-default-version 2
The Docker CLI can't reach the Docker daemon โ usually means Docker Desktop isn't running.
# Verify Docker is running docker info
The container starts but immediately exits or restarts in a loop.
# Check container logs
docker logs agent-zero
# Check exit code
docker inspect agent-zero --format='{{.State.ExitCode}}'
Common causes: missing API key env var, port already in use, insufficient memory. Check the logs for the specific error.
Pulling the Agent Zero image takes forever or times out.
# Try pulling again (resumes partial downloads) docker pull alexander-ai/agent-zero:latest # Or pull a specific version docker pull alexander-ai/agent-zero:v0.9
Browser shows "This site can't be reached" or connection refused.
docker ps | grep agent-zero0.0.0.0:50001->80/tcphttp://127.0.0.1:50001 instead of localhostdocker ps # Look for: 0.0.0.0:50001->80/tcp # Check what's on that port # Windows: netstat -ano | findstr :50001 # macOS/Linux: lsof -i :50001
Another process is occupying port 50001. Use a different port.
# Use port 50002 instead docker run -p 50002:80 alexander-ai/agent-zero # Then access at: # http://localhost:50002
Agent Zero can't authenticate with your LLM provider.
sk-... ยท Anthropic keys start with sk-ant-... ยท OpenRouter keys start with sk-or-...You've hit your API rate limit or usage quota.
mistralai/mistral-7b-instruct:free for testing without spending money.Tasks hang, responses take minutes, or nothing happens after submitting a task.
docker restart agent-zerodocker restart agent-zero
The model name you entered isn't recognized by the provider.
gpt-4o not gpt4o)Docker Desktop on Windows requires WSL2. Run these commands in PowerShell as Administrator:
# Install WSL2 wsl --install # Set WSL2 as default wsl --set-default-version 2 # Restart your PC after installation
Docker needs hardware virtualization enabled in BIOS/UEFI.
Some software (VirtualBox, VMware older versions) conflicts with Hyper-V which Docker uses.
# Run in PowerShell as Administrator # Enable Hyper-V Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
If using VirtualBox: update to 6.1+ which supports running alongside Hyper-V.
Docker images built for x86 run under Rosetta emulation on Apple Silicon, which is slower.
# Pull the ARM-native image if available docker pull --platform linux/arm64 alexander-ai/agent-zero:latest # Or force x86 with Rosetta docker pull --platform linux/amd64 alexander-ai/agent-zero:latest
--platform linux/arm64.macOS may ask for permission to allow Docker to make changes.
Your user isn't in the docker group. You're running docker without sudo.
# Add your user to the docker group sudo usermod -aG docker $USER # Log out and back in, then verify groups $USER | grep docker # Or use sudo for now sudo docker run -p 50001:80 alexander-ai/agent-zero
# Start Docker service sudo systemctl start docker # Enable on boot sudo systemctl enable docker # Check status sudo systemctl status docker
Agent Zero's memory is stored inside the container. If you remove the container, memory is lost.
# Mount a local folder to persist memory across restarts docker run -p 50001:80 \ -v ~/agent-zero-data:/a0 \ alexander-ai/agent-zero
-v ~/agent-zero-data:/a0 to persist memory, knowledge, and settings across container restarts.If something is badly misconfigured and you want a clean slate:
# Stop and remove container docker stop agent-zero docker rm agent-zero # Pull fresh image docker pull alexander-ai/agent-zero:latest # Start fresh docker run -p 50001:80 --name agent-zero alexander-ai/agent-zero
If none of these fixes work, Jay can connect to your machine and fix it directly via AnyDesk remote support.