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

Image fails to pull on any LXC instance of Docker #72

Closed
mariaWitch opened this issue Aug 13, 2022 · 2 comments
Closed

Image fails to pull on any LXC instance of Docker #72

mariaWitch opened this issue Aug 13, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@mariaWitch
Copy link

Summary

Whenever the image is pulled down from Docker hub, the following error is encountered when trying to pull the image:
failed to register layer: ApplyLayer exit status 1 stdout: stderr: lchown /run/fail2ban: invalid argument
Most of my reading into this, implies that this is an issue with rootless mode specifically. All of the other containers I was pulling did not have any issues, this was the only one that had any issues in rootless mode. Something during the pull is calling a UID and GID beyond 65565, which is the max uid and gid values on an LXC container in rootless mode.

Steps to reproduce

  1. Attempt to pull the docker image from hub.docker.com on an LXC Container with Docker on it. (I have tried it on both Debian and Almalinux with the same results)

What is the expected correct behavior?

The image should pull without erroring out.

Relevant logs and/or screenshots

[root@docker3 etc]# sudo docker pull tiredofit/traefik-cloudflare-companion
Using default tag: latest
latest: Pulling from tiredofit/traefik-cloudflare-companion
213ec9aee27d: Pull complete 
309f922759ec: Extracting [==================================================>]  46.13MB/46.13MB
45d9207b0216: Download complete 
af2e2319950c: Download complete 
18e4eeca72f6: Download complete 
failed to register layer: ApplyLayer exit status 1 stdout:  stderr: lchown /run/fail2ban: invalid argument 

Environment

  • Image version / tag: Latest (6.8.5)
  • Guest OS: Almalinux 8.6
  • Host OS: Proxmox 7.2-7
@mariaWitch mariaWitch added the bug Something isn't working label Aug 13, 2022
@mariaWitch
Copy link
Author

Adding on to this, I have been able to narrow down to it being specifically effecting all of your Alpine base images 3.5 and above. (3.3 and 3.4 pulled fine.)

@mariaWitch
Copy link
Author

Ticket has been moved over to the Alpine image page. See: github.com/tiredofit/docker-alpine/issues/59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant