Skip to content
AbdBarho edited this page Sep 13, 2022 · 36 revisions

Output is a always green image

If output is a always green image, use --precision full --no-half.


CondaError: Downloaded bytes did not match Content-Length or CondaEnvException: Pip failed, ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE

This means your internet connection is unstable so the download failed, just try again docker compose build


Dockerfile parse error:

Error response from daemon: dockerfile parse error line 33: unknown instruction: GIT
ERROR: Service 'model' failed to build : Build failed

Update docker to the latest version, and make sure you are using docker compose (docker space compose) instead of docker-compose (docker dash compose). More info here.


Build fails at The Shell command, /bin/bash not found in WSL.

Edit build/Dockerfile, and change the SHELL from /bin/bash to //bin/bash. More info in #21 @MiccoHadje


Build fails with credentials errors when logged in via SSH on WSL2/Windows

You can try forcing plain text auth creds storage by removing line with "credStore" from ~/.docker/config.json (in WSL). More info in #56


Other build errors on windows: (thanks to @SuddenDevelopment for reporting):

  • Update to latest windows 10 release 2021H2 (required for WSL to see the GPU)
  • Update to WSL2 (download and switch to version 2)
  • Install / Update Docker Desktop
  • You might need to create a .wslconfig and increase memory, more info in #34
  • You might also need to force wsl to allow file permissions
  • In WSL, run dos2unix build/* (you might need to install it first sudo apt install dos2unix)

Clone this wiki locally