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

When trying to build the docker container"failed to register layer: unlinkat /usr/share/doc/libgdbm-dev: invalid argument" #10

Open
stevleibelt opened this issue Jun 9, 2023 · 0 comments

Comments

@stevleibelt
Copy link

When I try to start the debugger I get the following error.

docker compose

git clone https://github.com/rcbj/oauth2-oidc-debugger.git
cd oauth2-oidc-debugger
docker-compose up

[+] Running 1/1
 ! oauth2-oidc-debugger Warning                                                                                                                                                                                                                                                                                         1.5s 
[+] Building 26.1s (5/9)                                                                                                                                                                                                                                                                                                     
 => [oauth2-oidc-debugger internal] load build definition from Dockerfile                                                                                                                                                                                                                                               0.1s
 => => transferring dockerfile: 206B                                                                                                                                                                                                                                                                                    0.0s
 => [oauth2-oidc-debugger internal] load .dockerignore                                                                                                                                                                                                                                                                  0.1s
 => => transferring context: 65B                                                                                                                                                                                                                                                                                        0.0s
 => [oauth2-oidc-debugger internal] load metadata for docker.io/library/ruby:2.4.0-onbuild                                                                                                                                                                                                                              1.5s
 => ERROR [oauth2-oidc-debugger 1/1] FROM docker.io/library/ruby:2.4.0-onbuild@sha256:0eaa2bbff1e95d17d7f992160c827cd99b582cef0055f09acae77072a9aa4c69                                                                                                                                                                 24.4s
 => => resolve docker.io/library/ruby:2.4.0-onbuild@sha256:0eaa2bbff1e95d17d7f992160c827cd99b582cef0055f09acae77072a9aa4c69                                                                                                                                                                                             0.0s
 => => sha256:0eaa2bbff1e95d17d7f992160c827cd99b582cef0055f09acae77072a9aa4c69 2.42kB / 2.42kB                                                                                                                                                                                                                          0.0s
 => => sha256:693502eb7dfbc6b94964ae66ebc72d3e32facd981c72995b09794f1e87bac184 51.36MB / 51.36MB                                                                                                                                                                                                                        2.1s
 => => sha256:081cd4bfd5210ff69949cc356db9693d11d103cd2380117cff7d4be6966eafdf 18.54MB / 18.54MB                                                                                                                                                                                                                        0.5s
 => => sha256:5d2dc01312f3714eed4630a1317629f9131f307b3fc6d83506444d3eeebc0e41 42.50MB / 42.50MB                                                                                                                                                                                                                        1.5s
 => => sha256:c573a7880cfbbdce35afb825afccf924c54765aa4650b2aeae8bf3a00494487b 8.39kB / 8.39kB                                                                                                                                                                                                                          0.0s
 => => sha256:54a5f7da9a4f2853a0078d1926f7dbd4d12d09b01b13da4aa808d015024419c8 129.85MB / 129.85MB                                                                                                                                                                                                                      4.1s
 => => sha256:168cf3f33330209b5d659614bc0f85b33bdec178d185d6a9e439e98e2d1a3a95 203B / 203B                                                                                                                                                                                                                              1.8s
 => => sha256:5edf1a65e7e1c714fbdc985045123ee8a0daba4b035e0c03d7a948d3fbda18b8 22.64MB / 22.64MB                                                                                                                                                                                                                        3.1s
 => => extracting sha256:693502eb7dfbc6b94964ae66ebc72d3e32facd981c72995b09794f1e87bac184                                                                                                                                                                                                                               2.5s
 => => sha256:c95fc1e51b4de1dc499978b437b947bdee884a8172ab6b5ae423c5dd00721d85 638.12kB / 638.12kB                                                                                                                                                                                                                      2.6s
 => => sha256:0164b0dd2de176a552c7e00d32d23116f87d9bcf122ed0bd8c88b20f7aac98ef 160B / 160B                                                                                                                                                                                                                              2.8s
 => => sha256:9763c7c578ae48b37d9b9e714c551d0916dd1ce7c73ae6693ad62e903a4d815a 186B / 186B                                                                                                                                                                                                                              3.3s
 => => sha256:5e01c0c2c00740b0de4e03ec08887a7886e79b5a5ac15fb8fa49a92388769e24 126B / 126B                                                                                                                                                                                                                              3.7s
 => => extracting sha256:081cd4bfd5210ff69949cc356db9693d11d103cd2380117cff7d4be6966eafdf                                                                                                                                                                                                                               0.7s
 => => extracting sha256:5d2dc01312f3714eed4630a1317629f9131f307b3fc6d83506444d3eeebc0e41                                                                                                                                                                                                                               1.5s
 => => extracting sha256:54a5f7da9a4f2853a0078d1926f7dbd4d12d09b01b13da4aa808d015024419c8                                                                                                                                                                                                                               3.8s
 => => extracting sha256:168cf3f33330209b5d659614bc0f85b33bdec178d185d6a9e439e98e2d1a3a95                                                                                                                                                                                                                               0.0s
 => => extracting sha256:5edf1a65e7e1c714fbdc985045123ee8a0daba4b035e0c03d7a948d3fbda18b8                                                                                                                                                                                                                               0.8s
 => [oauth2-oidc-debugger internal] load build context                                                                                                                                                                                                                                                                  0.1s
 => => transferring context: 235.53kB                                                                                                                                                                                                                                                                                   0.0s
------
 > [oauth2-oidc-debugger 1/1] FROM docker.io/library/ruby:2.4.0-onbuild@sha256:0eaa2bbff1e95d17d7f992160c827cd99b582cef0055f09acae77072a9aa4c69:
------
failed to solve: failed to register layer: unlinkat /usr/share/doc/libgdbm-dev: invalid argument

docker

git clone https://github.com/rcbj/oauth2-oidc-debugger.git
cd oauth2-oidc-debugger/client
docker build -t oauth2-oidc-debugger .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  248.8kB
Step 1/4 : FROM ruby:2.4.0-onbuild
2.4.0-onbuild: Pulling from library/ruby
693502eb7dfb: Pull complete 
081cd4bfd521: Pull complete 
5d2dc01312f3: Pull complete 
54a5f7da9a4f: Pull complete 
168cf3f33330: Pull complete 
5edf1a65e7e1: Extracting [==================================================>]  22.64MB/22.64MB
c95fc1e51b4d: Download complete 
0164b0dd2de1: Download complete 
9763c7c578ae: Download complete 
5e01c0c2c007: Download complete 
failed to register layer: unlinkat /usr/share/doc/libgdbm-dev: invalid argument

Same happens with buildx installed.

I an running an arch linux with kernel 6.2.12. Other docker related stuff is running fine so far.

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