rancher: docker: failed to register layer: Error processing tar file(exit status 1): lchown /usr/bin/etcd: invalid argument.

Did somebody managed to fox this? I have same problem at Proxmox CT in deb I saw one Issue but it have been dead since 3 years and we still don’t know how to fix it. With out sudo commad

mamyia@Docker` ~$ docker run -d --restart=unless-stopped \
>   -p 80:80 -p 443:443 \
>   --privileged \
>   rancher/rancher:latest
Unable to find image 'rancher/rancher:latest' locally
latest: Pulling from rancher/rancher
a3009803982d: Pull complete 
cf9e817c5d35: Pull complete 
b380663f8ccc: Pull complete 
1ca0e2238656: Pull complete 
65086cb458c9: Pull complete 
c6d25608690f: Pull complete 
6c8ad6da7ce2: Pull complete 
6a6940e66f68: Pull complete 
b115b1ef2b5b: Pull complete 
b4b03dbaa949: Extracting [==================================================>]  68.97MB/68.97MB
aef7deb59b77: Download complete 
0bbf7579a568: Download complete 
eaa5d6336f95: Download complete 
608f536609b9: Download complete 
fcaf65f7937c: Download complete 
e4ea550002d9: Download complete 
9d698b9289d2: Download complete 
caa4144aedf1: Download complete 
docker: failed to register layer: ApplyLayer exit status 1 stdout:  stderr: lchown /usr/bin/etcdctl: invalid argument.
See 'docker run --help'.

same result with sudo

mamyia@Docker ~$ sudo docker run -d --restart=unless-stopped   -p 80:80 -p 443:443   --privileged   rancher/rancher:latest
Unable to find image 'rancher/rancher:latest' locally
latest: Pulling from rancher/rancher
a3009803982d: Pull complete 
cf9e817c5d35: Pull complete 
b380663f8ccc: Pull complete 
1ca0e2238656: Pull complete 
65086cb458c9: Pull complete 
c6d25608690f: Pull complete 
6c8ad6da7ce2: Pull complete 
6a6940e66f68: Pull complete 
b115b1ef2b5b: Pull complete 
b4b03dbaa949: Extracting [==================================================>]  68.97MB/68.97MB
aef7deb59b77: Download complete 
0bbf7579a568: Download complete 
eaa5d6336f95: Download complete 
608f536609b9: Download complete 
fcaf65f7937c: Download complete 
e4ea550002d9: Download complete 
9d698b9289d2: Download complete 
caa4144aedf1: Download complete 
docker: failed to register layer: ApplyLayer exit status 1 stdout:  stderr: lchown /usr/bin/etcdctl: invalid argument.
See 'docker run --help'.


docker version:

mamyia@Docker ~$ docker version
Client: Docker Engine - Community
 Version:           20.10.7
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        f0df350
 Built:             Wed Jun  2 11:56:47 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.7
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       b0f5bc3
  Built:            Wed Jun  2 11:54:58 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.12
  GitCommit:        7b11cfaabd73bb80907dd23182b9347b4245eb5d
 runc:
  Version:          1.0.2
  GitCommit:        v1.0.2-0-g52b36a2
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0`

debain version:

mamyia@Docker ~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 8
  • Comments: 24 (1 by maintainers)

Most upvoted comments

try running with sudo, for me it worked with sudo in proxmox.

sudo docker pull rancher/rancher:latest

I’m having the same issue on Proxmox 7.2-4 (Kernel Version Linux 5.15.35-1-pve) in an Ubuntu 22.04 LTS LXC

I got exact the same problem on the seme setup

I’m having the same issue on Proxmox 7.2-4 (Kernel Version Linux 5.15.35-1-pve) in an Ubuntu 22.04 LTS LXC

This issue still exists, looking for a solution

Proxmox VE : 7.3-6 LXC Container - Ubuntu 22.04.2 LTS

I guess no one is looking into this because i just ran into that error.