Permission failed to /etc | Proxmox VE 7.3-4

Hi!

Im runnin an debian11-instance by Proxmox VirtualEnviroment 7.3.-4. In this instance is docker installed:

#docker version:
Client:
Version: 20.10.5+dfsg1
API version: 1.41
Go version: go1.15.15
Git commit: 55c4c88
Built: Mon May 30 18:34:49 2022
OS/Arch: linux/amd64
Context: default
Experimental: true

Server:
Engine:
Version: 20.10.5+dfsg1
API version: 1.41 (minimum version 1.12)
Go version: go1.15.15
Git commit: 363e9a8
Built: Mon May 30 18:34:49 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.13~ds1
GitCommit: 1.4.13~ds1-1~deb11u3
runc:
Version: 1.0.0~rc93+ds1
GitCommit: 1.0.0~rc93+ds1-5+deb11u2
docker-init:
Version: 0.19.0
GitCommit:

If I try to build an new docker-container of “metasfresh”, the buildprocess fails after a while with this error:

Service ‘db’ failed to build: failed to register layer: Error processing tar file(exit status 1): replaceDirWithOverlayOpaque(“/etc/X11”) failed: createDirWithOverlayOpaque(“/etc/rdwoo440164177”) failed: failed to mkdir /etc/rdwoo440164177/m/d: mkdir /etc/rdwoo440164177/m/d: input/output error

Any ideas how to fix this? Thank you for all inputs!

Ok - created a new LXC-Container in proxmox VE, this time a “priviliged” one.
Now all is up and running.

But be aware, a “priviliged” LXC-Container is unsafe! In this case i can do that, because this is an internal application in a seperated network.

If I remember right, you can run an unprivileged lxc container, but it requires the nesting feature enabled.

Can you share the output of docker info. Looks like a problem with the storage driver.

Note: you are using the Debian docker.io package. Only the docker package from docker’s repository provides vanilla docker behavior.