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

"docker-compose up" broken? #36

Closed
maltewirz opened this issue Dec 14, 2022 · 4 comments
Closed

"docker-compose up" broken? #36

maltewirz opened this issue Dec 14, 2022 · 4 comments

Comments

@maltewirz
Copy link

Hi there,
I cloned your repo successfully and tried to run it using "docker-compose up", but I get the following error: "failed to solve: failed to load cache key: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed". I am logged in hub.docker.com, but to no avail.

Full error message:


[+] Running 0/3
 ⠿ build Warning                                                                                                                                            2.2s
 ⠿ rp Warning                                                                                                                                               2.2s
 ⠿ fido2 Warning                                                                                                                                            2.2s
[+] Building 5.8s (13/20)                                                                                                                                        
 => [rp:latest internal] load build definition from Dockerfile                                                                                              0.0s
 => => transferring dockerfile: 248B                                                                                                                        0.0s
 => [fido2:latest internal] load build definition from Dockerfile                                                                                           0.0s
 => => transferring dockerfile: 32B                                                                                                                         0.0s
 => [build-image:latest internal] load build definition from Dockerfile                                                                                     0.0s
 => => transferring dockerfile: 158B                                                                                                                        0.0s
 => [rp:latest internal] load .dockerignore                                                                                                                 0.0s
 => => transferring context: 2B                                                                                                                             0.0s
 => [fido2:latest internal] load .dockerignore                                                                                                              0.0s
 => => transferring context: 2B                                                                                                                             0.0s
 => [build-image:latest internal] load .dockerignore                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                             0.0s
 => [rp:latest internal] load metadata for docker.io/library/openjdk:8-jdk-alpine                                                                           3.3s
 => [fido2:latest internal] load metadata for docker.io/library/openjdk:8-jdk-slim                                                                          3.1s
 => [auth] library/openjdk:pull token for registry-1.docker.io                                                                                              0.0s
 => ERROR [fido2:latest] FROM docker.io/library/build-image:latest                                                                                          2.3s
 => => resolve docker.io/library/build-image:latest                                                                                                         2.2s
 => CANCELED [fido2:latest stage-0 1/2] FROM docker.io/library/openjdk:8-jdk-slim@sha256:19578a1e13b7a1e4cab9b227fb7b5d80e14665cf4024c6407d72ba89842a97ed   2.2s
 => => resolve docker.io/library/openjdk:8-jdk-slim@sha256:19578a1e13b7a1e4cab9b227fb7b5d80e14665cf4024c6407d72ba89842a97ed                                 0.0s
 => => sha256:19578a1e13b7a1e4cab9b227fb7b5d80e14665cf4024c6407d72ba89842a97ed 549B / 549B                                                                  0.0s
 => => sha256:ecb89bb055c1ee4db9da38713b953f6daafefe575c77c6439eabbb85e3168402 1.16kB / 1.16kB                                                              0.0s
 => => sha256:80e75f92be33ca2bd4b933633dafc72aa82a34792f9b769063a474e97e163b8b 7.51kB / 7.51kB                                                              0.0s
 => => sha256:1efc276f4ff952c055dea726cfc96ec6a4fdb8b62d9eed816bd2b788f2860ad7 23.07MB / 31.37MB                                                            2.3s
 => => sha256:a2f2f93da48276873890ac821b3c991d53a7e864791aaf82c39b7863c908b93b 1.58MB / 1.58MB                                                              0.4s
 => => sha256:1a2de4cc94315f2ba5015e6781672aa8e0b1456a4d488694bb5f016d8f59fa70 210B / 210B                                                                  0.4s
 => => sha256:9013b84ebbe7aec8b587e257266770d2ac6ec3fce4c27415e74fbaf5928b4549 7.34MB / 106.19MB                                                            2.3s
 => CANCELED [build-image:latest stage-0 1/2] FROM docker.io/library/openjdk:8-jdk-alpine@sha256:94792824df2df33402f201713f932b58cb9de94a0cd524164a0f22833  2.4s
 => => resolve docker.io/library/openjdk:8-jdk-alpine@sha256:94792824df2df33402f201713f932b58cb9de94a0cd524164a0f2283343547b3                               0.0s
 => => sha256:a3562aa0b991a80cfe8172847c8be6dbf6e46340b759c2b782f8b8be45342717 3.40kB / 3.40kB                                                              0.0s
 => => sha256:94792824df2df33402f201713f932b58cb9de94a0cd524164a0f2283343547b3 1.64kB / 1.64kB                                                              0.0s
 => => sha256:44b3cea369c947527e266275cee85c71a81f20fc5076f6ebb5a13f19015dce71 947B / 947B                                                                  0.0s
 => => sha256:e7c96db7181be991f19a9fb6975cdbbd73c65f4a2681348e63a141a2192a5f10 2.76MB / 2.76MB                                                              1.0s
 => => extracting sha256:e7c96db7181be991f19a9fb6975cdbbd73c65f4a2681348e63a141a2192a5f10                                                                   0.9s
 => => sha256:f910a506b6cb1dbec766725d70356f695ae2bf2bea6224dbe8c7c6ad4f3664a2 238B / 238B                                                                  1.4s
 => => sha256:c2274a1a0e2786ee9101b08f76111f9ab8019e368dce1e325d3c284a0ca33397 3.42MB / 70.73MB                                                             2.4s
 => => extracting sha256:f910a506b6cb1dbec766725d70356f695ae2bf2bea6224dbe8c7c6ad4f3664a2                                                                   0.0s
 => [build-image:latest internal] load build context                                                                                                        2.1s
 => => transferring context: 31.77MB                                                                                                                        2.1s
 => [auth] library/build-image:pull token for registry-1.docker.io                                                                                          0.0s
------
 > [fido2:latest] FROM docker.io/library/build-image:latest:
------
failed to solve: failed to load cache key: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed```
@maltewirz
Copy link
Author

Any advice much appreciated, thanks!

@wsy
Copy link

wsy commented Dec 20, 2022

I came across this problem, too.

@devosonder
Copy link

run docker build -t build-image . command in project folder. After run docker-compose build and docker-compose up

@kj84park
Copy link
Member

kj84park commented Nov 1, 2024

This issue was resolved in #56

@kj84park kj84park closed this as completed Nov 1, 2024
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

4 participants