jsknnr / enshrouded-server

Run Enshrouded dedicated server in a container
MIT License
176 stars 20 forks source link

failed to register layer: lsetxattr user.overlay.impure /etc: operation not supported #56

Open dreesi opened 5 months ago

dreesi commented 5 months ago

Hey there,

i am relatively new to the docker party and tried to use your description to set up a docker container with docker compose or docker, tried both. I get the same error in docker or docker compose:

[+] Running 2/3 ⠴ enshrouded-dedicated-server 2 layers [⣿⣿] ✔ 2f44b7a888fa Pull complete ✔ 980609f7b193 Download complete failed to register layer: lsetxattr user.overlay.impure /etc: operation not supported

I am aware that it's maybe an issue of my system enviroment, I use proxmox with a docker lxc.

If it's totally unrelated to your work, please close this. If you have a hint for me, It would be really appreciated :)

Great work by the way!!!

NomadicBits commented 5 months ago

Do other containers work for you? It looks to me like your docker daemon is unable to write layers correctly.

ChristopherHX commented 4 months ago

This image is using buildah for building the image that is causing a problem in dockerd 25.0+ (https://docs.docker.com/engine/release-notes/25.0/#extended-attributes-for-tar-files)

Fixed as of

ubuntu22.04 won't get the update, I'm building it from source to use it on GitHub Actions

KissKool-63 commented 4 months ago

I have the same problem, is there a simple solution as I'm just starting out with docker, portainer etc.?

AliIbnIbrahim commented 4 months ago

A have also the same problem !

dreesi commented 4 months ago

dumb question but can I use a dockerd < version 25.0 to avoid this problem as a workaround?

ChristopherHX commented 4 months ago

can I use a dockerd < version 25.0 to avoid this problem as a workaround?

Yes you can do that, dockerd <= 24.x are ignoring these errors and let you pull affected images.

Only tested by me with different images that had the same error in dockerd 25.x