hackershare icon indicating copy to clipboard operation
hackershare copied to clipboard

Unable to docker-compose build

Open AlessandroSpallina opened this issue 2 years ago • 0 comments

The docker-compose.yaml file should be fixed or at least we should have more instructions, follows the output of a build attempt:

ubuntu@bengal:~/WORKSPACE/hackershare$ sudo docker compose build
WARN[0000] The "RAILS_PORT" variable is not set. Defaulting to a blank string.
[+] Building 1.1s (7/8)
 => [hackershare-webpack:development internal] load build definition from webpack.Dockerfile                       0.0s
 => => transferring dockerfile: 161B                                                                               0.0s
 => [hackershare:development internal] load build definition from Dockerfile                                       0.0s
 => => transferring dockerfile: 2.31kB                                                                             0.0s
 => [hackershare-rails:development internal] load build definition from Dockerfile                                 0.0s
 => => transferring dockerfile: 2.31kB                                                                             0.0s
 => [hackershare-webpack:development internal] load .dockerignore                                                  0.0s
 => => transferring context: 252B                                                                                  0.0s
 => [hackershare-rails:development internal] load .dockerignore                                                    0.0s
 => => transferring context: 252B                                                                                  0.0s
 => [hackershare:development internal] load .dockerignore                                                          0.0s
 => => transferring context: 252B                                                                                  0.0s
 => ERROR [hackershare-webpack:development internal] load metadata for docker.io/library/hackershare:development   0.9s
 => CANCELED [hackershare-rails:development internal] load metadata for docker.io/library/ruby:2.7.2-alpine        1.0s
------
 > [hackershare-webpack:development internal] load metadata for docker.io/library/hackershare:development:
------
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

AlessandroSpallina avatar Oct 27 '22 19:10 AlessandroSpallina