lichess-org / lila-docker

Lichess local development using Docker Compose.
GNU Affero General Public License v3.0
44 stars 44 forks source link

Unable to build `Lila-docker` with VPN #103

Closed kraktus closed 3 months ago

kraktus commented 3 months ago

For the record

[+] Building 0.0s (0/0)                                                              
[+] Building 0.0s (0/0)                                                              
[+] Building 0.1s (2/2)                                                              
 => [internal] load build definition from lila.Dockerfile                       0.0s
 => => transferring dockerfile: 148B                                            0.0s
 => [internal] load .dockerignore                                               0.0s
[+] Building 0.3s (2/3)                                                              
 => [internal] load build definition from lila.Dockerfile                       0.0s
 => => transferring dockerfile: 148B                                            0.0s 
[+] Building 0.2s (2/3)                                                              
 => [internal] load build definition from picfit.Dockerfile                     0.0s
 => => transferring dockerfile: 347B                                            0.0s
[+] Building 0.7s (3/3) FINISHED                                                     
 => [internal] load build definition from lila.Dockerfile                       0.0s
 => => transferring dockerfile: 148B                                            0.0s
 => [internal] load .dockerignore                                               0.0s
[+] Building 0.7s (3/3) FINISHED                                                     
 => [internal] load build definition from lila-ws.Dockerfile                    0.0s
 => => transferring dockerfile: 181B                                            0.0s
 => [internal] load .dockerignore                                               0.0s1[+] Building 0.6s (3/3) FINISHED                                                     
 => [internal] load build definition from picfit.Dockerfile                     0.0s
 => => transferring dockerfile: 347B                                            0.0s
 => [internal] load .dockerignore                                               0.0s1 => => transferring context: 2B                                                 0.0s
 => ERROR [internal] load metadata for docker.io/library/golang:1.21.4-alpine3  0.4s
------
 > [internal] load metadata for docker.io/library/golang:1.21.4-alpine3.18:
------
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = Unknown desc = failed to fetch anonymous token: Get "https://auth.docker.io/token?scope=repository%3Asbtscala%2Fscala-sbt%3Apull&service=registry.docker.io": write tcp [**[REDACTED IP v6]**]:55294->[**[REDACTED IP v6]**]:443: write: broken pipe

disabling the VPN fixed the issue