1.3 KiB
1.3 KiB
Docker Desktop DNS Configuration
Since you're using Docker Desktop (default context), you may need to configure DNS in Docker Desktop settings.
Steps to Configure DNS in Docker Desktop:
-
Open Docker Desktop
- Click the Docker Desktop icon in your system tray or start menu
-
Go to Settings
- Click the gear icon (⚙️) in the top right
- Or click "Settings" from the Docker Desktop menu
-
Navigate to Docker Engine
- In the left sidebar, click "Docker Engine"
-
Add DNS Configuration
- In the JSON configuration editor, add or update the
dnsfield:
{ "dns": ["8.8.8.8", "8.8.4.4", "1.1.1.1"], "experimental": false, "features": { "buildkit": true } }- If there's already content, just add the
"dns"line to the existing JSON
- In the JSON configuration editor, add or update the
-
Apply Changes
- Click "Apply & Restart" button
- Wait for Docker Desktop to restart
Alternative: Test Without Docker Desktop Configuration
The WSL2 DNS fix we applied should be sufficient. Try running the network first:
./run.sh
If you still get DNS errors, then configure Docker Desktop DNS as described above.
Verify Configuration
After configuring, test with:
docker pull alpine:latest
If this works, your Docker DNS is properly configured.