Docker compose “The system cannot find the file specified” error


When running “docker-compose up –build” I experienced the following error:

Traceback (most recent call last):
File "", line 3, in
File "compose\cli\", line 65, in main
File "compose\cli\", line 117, in perform_command
File "compose\cli\", line 849, in up
File "compose\", line 372, in up
File "compose\", line 539, in warn_for_swarm_mode
File "site-packages\docker\api\", line 33, in info


File "site-packages\docker\transport\", line 49, in connect
pywintypes.error: (2, 'WaitNamedPipe', 'The system cannot find the file specified.')
docker-compose returned -1


This is very likely to be caused by a environment config setting. The easiest and first action to do here is to simply reinstall Docker Toolbox

Leave a Reply

%d bloggers like this: