Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to docker-compose build #161

Open
AlessandroSpallina opened this issue Oct 27, 2022 · 0 comments
Open

Unable to docker-compose build #161

AlessandroSpallina opened this issue Oct 27, 2022 · 0 comments

Comments

@AlessandroSpallina
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant