FIWARE / context.Orion-LD

Context Broker and CEF building block for context data management which supports both the NGSI-LD and the NGSI-v2 APIs
https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.06.01_60/gs_CIM009v010601p.pdf
GNU Affero General Public License v3.0
49 stars 40 forks source link

Can't pull container. failed to register layer: lsetxattr user.overlay.impure /etc: operation not supported #1609

Open aquarta opened 2 months ago

aquarta commented 2 months ago

I tryed to pull the docker image in a brand new gitpod workspace with

$ docker pull quay.io/fiware/orion-ld
Using default tag: latest
latest: Pulling from fiware/orion-ld
ccedeed05e42: Pull complete 
614980cc4ef1: Pull complete 
d82869debe9e: Extracting [==================================================>]  572.8MB/572.8MB
failed to register layer: lsetxattr user.overlay.impure /etc: operation not supported
$ docker --version
Docker version 26.0.1, build d260a54
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"

There is a similar issue for curl image (https://github.com/curl/curl-container/issues/55)

As I understand a rebuild of image is needed due to a new docker policy certain class of errors. https://docs.docker.com/engine/release-notes/25.0/#extended-attributes-for-tar-files

No issue with podman version 4.9.0 is observed (in local machine)

kzangeli commented 1 month ago

Not sure this issue has anything to do with Orion-LD ... However, not an expert on dockerhub. I've asked a colleague that knows a lot more than me to take a look.

jicarretero commented 1 month ago

I've been trying to reproduce your problem and I don't have that kind of issues with Orion-ld image neither with curl image. I've used docker 26.1.1 in Ubuntu 22.04 (in LXC container -- there might be problems with containers in containers) and Ubuntu 20.04.

root@ub1:/home/ubuntu# docker -v
Docker version 26.1.1, build 4cf5afa
root@ub1:/home/ubuntu# cat /etc/issue
Ubuntu 22.04.4 LTS \n \l

CAVEAT: We need to solve now another issue about the tag "latest" in Orion-LD, but you can use tags 1.5.1 (last stable) or tag 1.6.0-pre-1596 (the latest unestable)

docker pull quay.io/fiware/orion-ld:1.6.0-pre-1596
docker pull quay.io/fiware/orion-ld:1.5.1