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

Failed to Register Layer #114

Open
Luismm2311 opened this issue Nov 27, 2023 · 0 comments
Open

Failed to Register Layer #114

Luismm2311 opened this issue Nov 27, 2023 · 0 comments

Comments

@Luismm2311
Copy link

Environment:

Docker Version: 24.0.7, build afdd53b
Operating System: Ubuntu 22.04.3 LTS (Release: 22.04, Codename: jammy)
Issue Description:
I am encountering an error during the setup of Wirehole using Docker. When running the command sudo docker compose up, the process fails with the error message: "failed to register layer: unlinkat /var/cache/apt/archives: invalid argument". This issue occurs while pulling the pihole layers.

Here is the output of the command leading up to the error:

[+] Running 17/18
 ⠦ pihole 9 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulling                                                                                                                               30.7s 
   ✔ 0bc8ff246cb8 Pull complete                                                                                                                                                      11.0s 
   ✔ b420892c4b95 Pull complete                                                                                                                                                      13.1s 
   ✔ 4f4fb700ef54 Pull complete                                                                                                                                                       5.8s 
   ✔ 2d2f6878dbf8 Pull complete                                                                                                                                                       9.4s 
   ✔ 5dfd4e924890 Pull complete                                                                                                                                                      11.2s 
   ✔ 8b3fe36ce585 Pull complete                                                                                                                                                      11.7s 
   ✔ 9e5afc1b0d3c Download complete                                                                                                                                                  14.8s 
   ✔ ef9b9073d805 Download complete                                                                                                                                                  12.5s 
   ✔ 83e77b545887 Download complete                                                                                                                                                  14.1s 
 ✔ wireguard 7 layers [⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                                                                                               13.2s 
   ✔ e1a2077ed0e8 Pull complete                                                                                                                                                       1.5s 
   ✔ 07a0e16f7be1 Pull complete                                                                                                                                                       0.6s 
   ✔ 3cc85b5fea5c Pull complete                                                                                                                                                       0.6s 
   ✔ ec5eb6c42b37 Pull complete                                                                                                                                                       2.2s 
   ✔ f776dde7a3d2 Pull complete                                                                                                                                                       1.3s 
   ✔ c619bb31dc9b Pull complete                                                                                                                                                       4.5s 
   ✔ dcb476501c2a Pull complete                                                                                                                                                       2.4s 
failed to register layer: unlinkat /var/cache/apt/archives: invalid argument

Additional Context:

The error is occurring in a Proxmox LXC container.
I have attempted to clean Docker with docker system prune and have restarted the Docker service without resolving the issue.
I have tried installing Docker in three different ways:
Using sudo apt install docker.io.
Following this guide: How To Install and Use Docker on Ubuntu 22.04.
Using this script: docker/docker-install.
In all cases, the error remained the same.
There is sufficient disk space available, and Docker permissions have been verified.
I would appreciate any guidance or suggestions on how to resolve this issue. Thank you!

I would appreciate any guidance or suggestions on how to resolve this issue. Thank you!

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