Repository: Cloud-CV/EvalAI
Issue: EvalAI does not Compile on Docker Desktop 4.8.1
Root cause: Environment Incompatibility

Expected behavior: `docker-compose up --build` compiles and runs EvalAI successfully

Observed behavior: `docker-compose up --build` fails to launch `evalai-nodejs-1` and `evalai-django-1`

Steps to reproduce the problem:
`docker-compose up --build`

Operating system: Windows 11 build 22616.100, Docker Desktop version: 4.8.1

Logs:
```[+] Building 124.8s (50/50) FINISHED
 => [evalai_nodejs internal] load build definition from Dockerfile                                                                                                                                        0.1s
 => => transferring dockerfile: 797B                                                                                                                                                                      0.0s 
 => [evalai_worker internal] load build definition from Dockerfile                                                                                                                                        0.1s
 => => transferring dockerfile: 397B                                                                                                                                                                      0.0s 
 => [evalai_nodejs_v2 internal] load build definition from Dockerfile                                                                                                                                     0.0s 
 => => transferring dockerfile: 32B                                                                                                                                                                       0.0s 
 => [evalai_django internal] load build definition from Dockerfile                                                                                                                                        0.1s
 => => transferring dockerfile: 32B                                                                                                                                                                       0.0s 
 => [evalai_nodejs internal] load .dockerignore                                                                                                                                                           0.1s 
 => => transferring context: 34B                                                                                                                                                                          0.0s 
 => [evalai_worker internal] load .dockerignore                                                                                                                                                           0.1s
 => => transferring context: 34B                                                                                                                                                                          0.0s 
 => [evalai_nodejs_v2 internal] load .dockerignore                                                                                                                                                        0.1s
 => => transferring context: 34B                                                                                                                                                                          0.0s 
 => [evalai_django internal] load .dockerignore                                                                                                                                                           0.2s 
 => => transferring context: 34B                                                                                                                                                                          0.1s
 => [evalai_nodejs internal] load metadata for docker.io/library/node:8.11.2                                                                                                                              0.0s 
 => [evalai_nodejs  1/18] FROM docker.io/library/node:8.11.2                                                                                                                                              0.0s
 => [evalai_nodejs internal] load build context                                                                                                                                                          27.3s
 => => transferring context: 157B                                                                                                                                                                        27.2s 
 => [evalai_worker internal] load metadata for docker.io/library/evalai_django:latest                                                                                                                     0.0s 
 => [evalai_worker internal] load build context                                                                                                                                                          73.5s 
 => => transferring context: 656.42MB                                                                                                                                                                    72.8s 
 => [evalai_worker 1/5] FROM docker.io/library/evalai_django                                                                                                                                              0.0s 
 => [evalai_nodejs_v2 internal] load metadata for docker.io/library/node:12.2.0                                                                                                                           0.0s 
 => [evalai_nodejs_v2 1/5] FROM docker.io/library/node:12.2.0                                                                                                                                             0.0s 
 => [evalai_nodejs_v2 internal] load build context                                                                                                                                                        0.2s 
 => => transferring context: 380.28kB                                                                                                                                                                     0.1s 
 => [evalai_django internal] load metadata for docker.io/library/python:3.7.5                                                                                                                             0.0s 
 => CACHED [evalai_nodejs_v2 2/5] RUN npm install -g @angular/cli@7.3.9                                                                                                                                   0.0s 
 => CACHED [evalai_nodejs_v2 3/5] WORKDIR /code                                                                                                                                                           0.0s 
 => CACHED [evalai_nodejs_v2 4/5] ADD frontend_v2/package.json frontend_v2/yarn.lock /code/                                                                                                               0.0s 
 => CACHED [evalai_nodejs_v2 5/5] RUN yarn install                                                                                                                                                        0.0s 
 => [evalai_django 1/5] FROM docker.io/library/python:3.7.5                                                                                                                                               0.0s 
 => [evalai_worker] exporting to image                                                                                                                                                                   18.6s 
 => => exporting layers                                                                                                                                                                                  17.6s 
 => => writing image sha256:3120721e15095f0360d328f6db56def33090c3fb41a392ad3d679f1422d4f295                                                                                                              0.1s 
 => => naming to docker.io/library/evalai_nodejs_v2                                                                                                                                                       0.1s 
 => => writing image sha256:48e2569fe82e7e3f1e0c03d468501e8086eb1a46b139635c48fefc176c217ded                                                                                                              0.1s 
 => => naming to docker.io/library/evalai_django                                                                                                                                                          0.0s 
 => => writing image sha256:45e3505e9adcefe1bae80ce0f67ac6eb8aeec78b4fe1b32a895c86223aa1bd38                                                                                                              0.0s 
 => => naming to docker.io/library/evalai_nodejs                                                                                                                                                          0.0s 
 => => writing image sha256:1ff8c9ed60ff4b2b0d2cedbc02e955f6de6df92fa7d28175679f1385d6892495                                                                                                              0.0s 
 => => naming to docker.io/library/evalai_worker                                                                                                                                                          0.0s 
 => [evalai_django internal] load build context                                                                                                                                                           0.3s 
 => => transferring context: 1.77kB                                                                                                                                                                       0.1s 
 => CACHED [evalai_django 2/5] RUN mkdir /code                                                                                                                                                            0.0s 
 => CACHED [evalai_django 3/5] WORKDIR /code                                                                                                                                                              0.0s 
 => CACHED [evalai_django 4/5] ADD requirements/* /code/                                                                                                                                                  0.0s 
 => CACHED [evalai_django 5/5] RUN pip install -r dev.txt                                                                                                                                                 0.0s 
 => CACHED [evalai_nodejs  2/18] RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -                                                                                   0.0s 
 => CACHED [evalai_nodejs  3/18] RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'                                            0.0s 
 => CACHED [evalai_nodejs  4/18] RUN apt-get update && apt-get install -yq google-chrome-stable                                                                                                           0.0s 
 => CACHED [evalai_nodejs  5/18] WORKDIR /code                                                                                                                                                            0.0s 
 => CACHED [evalai_nodejs  6/18] ADD ./package.json /code                                                                                                                                                 0.0s 
 => CACHED [evalai_nodejs  7/18] ADD ./bower.json /code                                                                                                                                                   0.0s 
 => CACHED [evalai_nodejs  8/18] ADD ./gulpfile.js /code                                                                                                                                                  0.0s 
 => CACHED [evalai_nodejs  9/18] ADD ./.eslintrc /code                                                                                                                                                    0.0s 
 => CACHED [evalai_nodejs 10/18] ADD ./karma.conf.js /code                                                                                                                                                0.0s 
 => CACHED [evalai_nodejs 11/18] RUN npm install -g bower gulp                                                                                                                                            0.0s 
 => CACHED [evalai_nodejs 12/18] RUN npm link gulp                                                                                                                                                        0.0s 
 => CACHED [evalai_nodejs 13/18] RUN npm cache clean -f                                                                                                                                                   0.0s 
 => CACHED [evalai_nodejs 14/18] RUN npm install                                                                                                                                                          0.0s 
 => CACHED [evalai_nodejs 15/18] RUN npm install -g karma-cli                                                                                                                                             0.0s 
 => CACHED [evalai_nodejs 16/18] RUN npm install -g qs                                                                                                                                                    0.0s 
 => CACHED [evalai_nodejs 17/18] RUN bower install --allow-root                                                                                                                                           0.0s 
 => CACHED [evalai_nodejs 18/18] RUN apt-get install -y libxss1                                                                                                                                           0.0s 
 => CACHED [evalai_worker 2/5] RUN apt-get update &&   apt-get install --no-install-recommends -q -y default-jdk &&   rm -rf /var/lib/apt/lists/*                                                         0.0s 
 => CACHED [evalai_worker 3/5] RUN pip install -U cffi service_identity cython==0.29 numpy==1.14.5                                                                                                        0.0s 
 => CACHED [evalai_worker 4/5] RUN pip install -r worker.txt                                                                                                                                              0.0s 
 => [evalai_worker 5/5] ADD . /code                                                                                                                                                                      31.9s 

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[+] Running 1/3
 - Container evalai-nodejs-1     Creating                                                                                                                                                                 0.5s 
 - Container evalai-nodejs_v2-1  Recreated                                                                                                                                                                0.5s 
 - Container evalai-django-1     Creating                                                                                                                                                                 0.5s 
Error response from daemon: create .: volume name is too short, names should be at least two alphanumeric characters
PS C:\Users\PrimaryUser\PycharmProjects\EvalAI> docker-compose up --build
[+] Building 70.6s (50/50) FINISHED
 => [evalai_django internal] load build definition from Dockerfile                                                                                                                                        0.1s
 => => transferring dockerfile: 268B                                                                                                                                                                      0.0s
 => [evalai_worker internal] load build definition from Dockerfile                                                                                                                                        0.1s
 => => transferring dockerfile: 32B                                                                                                                                                                       0.0s 
 => [evalai_nodejs_v2 internal] load build definition from Dockerfile                                                                                                                                     0.1s 
 => => transferring dockerfile: 32B                                                                                                                                                                       0.0s 
 => [evalai_nodejs internal] load build definition from Dockerfile                                                                                                                                        0.3s
 => => transferring dockerfile: 797B                                                                                                                                                                      0.0s 
 => [evalai_django internal] load .dockerignore                                                                                                                                                           0.3s 
 => => transferring context: 34B                                                                                                                                                                          0.0s
 => [evalai_worker internal] load .dockerignore                                                                                                                                                           0.2s
 => => transferring context: 34B                                                                                                                                                                          0.0s 
 => [evalai_nodejs_v2 internal] load .dockerignore                                                                                                                                                        0.2s 
 => => transferring context: 34B                                                                                                                                                                          0.0s 
 => [evalai_nodejs internal] load .dockerignore                                                                                                                                                           0.2s
 => => transferring context: 34B                                                                                                                                                                          0.0s 
 => [evalai_django internal] load metadata for docker.io/library/python:3.7.5                                                                                                                             0.0s
 => [evalai_django internal] load build context                                                                                                                                                           0.1s 
 => => transferring context: 1.77kB                                                                                                                                                                       0.0s
 => [evalai_django 1/5] FROM docker.io/library/python:3.7.5                                                                                                                                               0.0s 
 => [evalai_worker internal] load metadata for docker.io/library/evalai_django:latest                                                                                                                     0.0s 
 => [evalai_worker 1/5] FROM docker.io/library/evalai_django                                                                                                                                              0.0s 
 => [evalai_worker internal] load build context                                                                                                                                                          27.7s 
 => => transferring context: 7.19MB                                                                                                                                                                      27.5s 
 => CACHED [evalai_django 2/5] RUN mkdir /code                                                                                                                                                            0.0s 
 => CACHED [evalai_django 3/5] WORKDIR /code                                                                                                                                                              0.0s 
 => CACHED [evalai_django 4/5] ADD requirements/* /code/                                                                                                                                                  0.0s 
 => CACHED [evalai_django 5/5] RUN pip install -r dev.txt                                                                                                                                                 0.0s 
 => [evalai_worker] exporting to image                                                                                                                                                                   19.0s 
 => => exporting layers                                                                                                                                                                                  18.6s 
 => => writing image sha256:48e2569fe82e7e3f1e0c03d468501e8086eb1a46b139635c48fefc176c217ded                                                                                                              0.0s 
 => => naming to docker.io/library/evalai_django                                                                                                                                                          0.0s 
 => => writing image sha256:3120721e15095f0360d328f6db56def33090c3fb41a392ad3d679f1422d4f295                                                                                                              0.0s 
 => => writing image sha256:45e3505e9adcefe1bae80ce0f67ac6eb8aeec78b4fe1b32a895c86223aa1bd38                                                                                                              0.0s 
 => => naming to docker.io/library/evalai_nodejs_v2                                                                                                                                                       0.0s 
 => => naming to docker.io/library/evalai_nodejs                                                                                                                                                          0.0s 
 => => writing image sha256:579c613318c60d8a661cff4d0442af60e05bc8e077a707440c8b5bb2c349ef75                                                                                                              0.0s 
 => => naming to docker.io/library/evalai_worker                                                                                                                                                          0.0s 
 => [evalai_nodejs internal] load metadata for docker.io/library/node:8.11.2                                                                                                                              0.0s 
 => [evalai_nodejs  1/18] FROM docker.io/library/node:8.11.2                                                                                                                                              0.0s 
 => [evalai_nodejs internal] load build context                                                                                                                                                           0.2s 
 => => transferring context: 16.00kB                                                                                                                                                                      0.1s 
 => [evalai_nodejs_v2 internal] load metadata for docker.io/library/node:12.2.0                                                                                                                           0.0s 
 => [evalai_nodejs_v2 1/5] FROM docker.io/library/node:12.2.0                                                                                                                                             0.0s 
 => [evalai_nodejs_v2 internal] load build context                                                                                                                                                        0.2s 
 => => transferring context: 119B                                                                                                                                                                         0.1s 
 => CACHED [evalai_nodejs  2/18] RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -                                                                                   0.0s 
 => CACHED [evalai_nodejs  3/18] RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'                                            0.0s 
 => CACHED [evalai_nodejs  4/18] RUN apt-get update && apt-get install -yq google-chrome-stable                                                                                                           0.0s 
 => CACHED [evalai_nodejs  5/18] WORKDIR /code                                                                                                                                                            0.0s 
 => CACHED [evalai_nodejs  6/18] ADD ./package.json /code                                                                                                                                                 0.0s 
 => CACHED [evalai_nodejs  7/18] ADD ./bower.json /code                                                                                                                                                   0.0s 
 => CACHED [evalai_nodejs  8/18] ADD ./gulpfile.js /code                                                                                                                                                  0.0s 
 => CACHED [evalai_nodejs  9/18] ADD ./.eslintrc /code                                                                                                                                                    0.0s 
 => CACHED [evalai_nodejs 10/18] ADD ./karma.conf.js /code                                                                                                                                                0.0s 
 => CACHED [evalai_nodejs 11/18] RUN npm install -g bower gulp                                                                                                                                            0.0s 
 => CACHED [evalai_nodejs 12/18] RUN npm link gulp                                                                                                                                                        0.0s 
 => CACHED [evalai_nodejs 13/18] RUN npm cache clean -f                                                                                                                                                   0.0s 
 => CACHED [evalai_nodejs 14/18] RUN npm install                                                                                                                                                          0.0s 
 => CACHED [evalai_nodejs 15/18] RUN npm install -g karma-cli                                                                                                                                             0.0s 
 => CACHED [evalai_nodejs 16/18] RUN npm install -g qs                                                                                                                                                    0.0s 
 => CACHED [evalai_nodejs 17/18] RUN bower install --allow-root                                                                                                                                           0.0s 
 => CACHED [evalai_nodejs 18/18] RUN apt-get install -y libxss1                                                                                                                                           0.0s 
 => CACHED [evalai_nodejs_v2 2/5] RUN npm install -g @angular/cli@7.3.9                                                                                                                                   0.0s 
 => CACHED [evalai_nodejs_v2 3/5] WORKDIR /code                                                                                                                                                           0.0s 
 => CACHED [evalai_nodejs_v2 4/5] ADD frontend_v2/package.json frontend_v2/yarn.lock /code/                                                                                                               0.0s 
 => CACHED [evalai_nodejs_v2 5/5] RUN yarn install                                                                                                                                                        0.0s 
 => CACHED [evalai_worker 2/5] RUN apt-get update &&   apt-get install --no-install-recommends -q -y default-jdk &&   rm -rf /var/lib/apt/lists/*                                                         0.0s 
 => CACHED [evalai_worker 3/5] RUN pip install -U cffi service_identity cython==0.29 numpy==1.14.5                                                                                                        0.0s 
 => CACHED [evalai_worker 4/5] RUN pip install -r worker.txt                                                                                                                                              0.0s 
 => [evalai_worker 5/5] ADD . /code                                                                                                                                                                      23.0s 

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[+] Running 0/2
 - Container evalai-nodejs-1  Creating                                                                                                                                                                    0.1s 
 - Container evalai-django-1  Creating                                                                                                                                                                    0.1s 
Error response from daemon: create .: volume name is too short, names should be at least two alphanumeric characters
```

Based on [reports from other Docker for Windows users](docker/compose#9473), the issue appears to be the latest updates to Docker Desktop. To fix it, downgrade Docker Desktop to 4.7.1 or below.


I've downgraded to Docker Desktop 4.7.1 but the problem still exists!

Hello, try replacing .:/code in volume section with the absolute motherpath of the docker-compose file 

Closing this since this issue doesn't exists anymore. Please feel free to re-open if it is happens again.