exadel-inc / CompreFace

Leading free and open-source face recognition system
https://exadel.com/accelerator-showcase/compreface/
Apache License 2.0
5.64k stars 770 forks source link

Docker compose error #530

Closed mi4mac closed 3 years ago

mi4mac commented 3 years ago

Describe the bug When I try to build everything by using the docker compose the following error occures.

To Reproduce '''docker compose up [+] Building 31.9s (15/15) FINISHED => [compreface-postgres-db internal] load build definition from Dockerfile 0.4s => => transferring dockerfile: 55B 0.0s => [compreface-admin internal] load build definition from Dockerfile 0.8s => => transferring dockerfile: 71B 0.0s => [compreface-fe internal] load build definition from Dockerfile 1.2s => => transferring dockerfile: 68B 0.0s => [compreface-core internal] load build definition from Dockerfile 2.6s => => transferring dockerfile: 70B 0.0s => [compreface-api internal] load build definition from Dockerfile 3.0s => => transferring dockerfile: 69B 0.0s => [compreface-postgres-db internal] load .dockerignore 1.3s => => transferring context: 2B 0.0s => [compreface-admin internal] load .dockerignore 1.6s => => transferring context: 2B 0.0s => [compreface-fe internal] load .dockerignore 2.2s => => transferring context: 2B 0.0s => [compreface-core internal] load .dockerignore 2.7s => => transferring context: 2B 0.0s => [compreface-api internal] load .dockerignore 3.1s => => transferring context: 2B 0.0s => ERROR [compreface-postgres-db internal] load metadata for docker.io/library/postgres:11.5 30.1s => CANCELED [compreface-admin internal] load metadata for docker.io/exadel/compreface-admin:0.5.0 29.6s => CANCELED [compreface-fe internal] load metadata for docker.io/exadel/compreface-fe:0.5.0 29.0s => CANCELED [compreface-core internal] load metadata for docker.io/exadel/compreface-core:0.5.0 28.6s => CANCELED [compreface-api internal] load metadata for docker.io/exadel/compreface-api:0.5.0 28.1s

[compreface-postgres-db internal] load metadata for docker.io/library/postgres:11.5:

failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to do request: Head https://registry-1.docker.io/v2/library/postgres/manifests/11.5: proxyconnect tcp: dial tcp 192.168.65.1:3128: i/o timeout'''

pospielov commented 3 years ago
  1. What operation system do you use?
  2. What are the docker and docker-compose versions?
  3. Have you changed the code or build config before the error?
  4. How you build the code? I assume from /dev folder docker-compose build?

The error is very strange - we use the default Postgresql image, so it shouldn't even try to build it.

mi4mac commented 3 years ago
  1. What operation system do you use? Mac OS 11.3.1

  2. What are the docker and docker-compose versions? Engine: 20.10.6 Compose: 1.29.1

  3. Have you changed the code or build config before the error? I followed the steps described at "https://github.com/exadel-inc/CompreFace/releases"

  4. How you build the code? I assume from /dev folder docker-compose build? need to check but normaly I use the default one

The error is very strange - we use the default Postgresql image, so it shouldn't even try to build it.

Maybe I did not get it. I am realtivly new with docker copmpose.

pospielov commented 3 years ago

could you upload all logs after you run docker-compose up? e.g. to https://pastebin.com/ and paste here a link

mi4mac commented 3 years ago

Found the problem it was caused by "experimental feature" enabled in docker. Deactivating fixed the problem.