Skip to content

Fail to extract layer due to operation not permitted error #7093

@junnplus

Description

@junnplus

Discussed in #7083

Originally posted by Ladicle June 21, 2022
ctr image pull quay.io/ansible/creator-ee:v0.5.0 failed to extract the layer due to operation not permitted error. I've tried it with containerd versions v1.4.4 and 1.6.4. This error did not occur in other images so far.
Also, the docker pull works fine with this image.

$ sudo ctr image pull quay.io/ansible/creator-ee:v0.5.0
...
layer-sha256:1cb646aa85f30788a51b53eda39160008325a7ae05b03050ba8b2726aee91549:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:764ac4e7ad9bfa3a618b07693be79a7fd44b6a2fd35d497a7256458925219d33:    done           |++++++++++++++++++++++++++++++++++++++|
elapsed: 56.0s                                                                    total:  540.1  (9.6 MiB/s)
unpacking linux/amd64 sha256:4d21770ba05e0373ef6506df50eaebcf1586c4dbfffb728f52dfba08eb0dc222...
INFO[0064] apply failure, attempting cleanup             error="failed to extract layer sha256:140b571c235813a8eb5ba7f5f474f8852eef0218d4e5efe99801351d4c76aa6b: operation not permitted: unknown" key="extract-661548272-faQw sha256:f5544d59a150fa51ce83f2fce9214393ff91001ccaaac6405d892a6dbb3ac4c7"
ctr: failed to extract layer sha256:140b571c235813a8eb5ba7f5f474f8852eef0218d4e5efe99801351d4c76aa6b: operation not permitted: unknown

> sudo docker pull quay.io/ansible/creator-ee:v0.5.0
...
ff3ce4e37203: Pull complete 
be34f4f093fc: Pull complete 
Digest: sha256:4d21770ba05e0373ef6506df50eaebcf1586c4dbfffb728f52dfba08eb0dc222
Status: Downloaded newer image for quay.io/ansible/creator-ee:v0.5.0
quay.io/ansible/creator-ee:v0.5.0
> echo $?
0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions