Docker Build Troubleshooting
Failed to Connect to Debian Source
During DeepVibe development, Jake's machine ceased building the DRF API container which is based on Debian Bullseye. This is also probably specific to the Docker Desktop on Windows with WSL environment.
The following steps were taken to resolve the issue:
Check for WSL updates.
Check for Docker Desktop updates.
From Docker Desktop, stop and remove all containers, images, and volumes.
Check /etc/wsl.conf Configuration: Ensure your /etc/wsl.conf file is properly configured. You can add the following lines to prevent automatic generation of resolv.conf:
[network]
generateResolvConf = falseManually Configure DNS: Since you've already flushed DNS, let's manually configure DNS in WSL. Edit the /etc/resolv.conf file and add Google's DNS servers:
nameserver 8.8.8.8
nameserver 8.8.4.4Restart the Windows computer.
Define the variable
export DOCKER_BUILDKIT=1before attempting to rebuild.