toolkit
toolkit copied to clipboard
DockerException
Traceback (most recent call last):
File "docker-compose", line 3, in <module>
File "compose\cli\main.py", line 80, in main
File "compose\cli\main.py", line 189, in perform_command
File "compose\cli\command.py", line 60, in project_from_options
File "compose\cli\command.py", line 152, in get_project
File "compose\cli\docker_client.py", line 41, in get_client
File "compose\cli\docker_client.py", line 170, in docker_client
File "docker\api\client.py", line 197, in __init__
File "docker\api\client.py", line 221, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')
[16500] Failed to execute script docker-compose
All good up to line 84 of the quickstart -- then bin/up fails
How very strange. Could you run bin/doctor and paste the output here? Thanks!
@slowbrew Are you using overleaf with WSL2 and the Windows version of Docker?
I had the same issue because after installing Docker WSL put a wrong nameserver into /etc/resolv.conf. Replace it with the namesever of your host system and disable regenerating the file according to https://docs.microsoft.com/en-us/windows/wsl/wsl-config#network-settings