Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker pull failed to register layer: lsetxattr security.capability #6816

Closed
4 tasks done
dc-me opened this issue Mar 11, 2024 · 4 comments
Closed
4 tasks done

docker pull failed to register layer: lsetxattr security.capability #6816

dc-me opened this issue Mar 11, 2024 · 4 comments

Comments

@dc-me
Copy link

dc-me commented Mar 11, 2024

Prerequisites

Platform (OS and CPU architecture)

Linux, ARM64

Installation

Docker

Setup

On one machine

AdGuard Home version

latest

Action

docker pull adguard/adguardhome:latest

Expected result

pull the image

Actual result

failed to register layer: lsetxattr security.capability /opt/adguardhome/AdGuardHome: operation not supported

Additional information and/or screenshots

image

image

@dc-me
Copy link
Author

dc-me commented Mar 11, 2024

I've set it on openwrt use the official package, but can't run it on openwrt docker, I think it's platform dependent, I can use it to pull other images run containers fine, but can't pull adguardhome image.

OpenWrt 23.05.0 r23497-6637af95aa / LuCI openwrt-23.05 branch git-24.048.61449-c66fc92

@dc-me
Copy link
Author

dc-me commented Mar 12, 2024

Here's the cuase CONFIG_KERNEL_EXT4_FS_SECURITY is not the default setting for OpenWrt's kernels
Just for a reference https://lists.openwrt.org/pipermail/openwrt-devel/2024-January/041978.html

@hubrichc
Copy link

Have the same problem. Want to run a Caddy Container in openwrt. Does not work. Same failure.
docker: failed to register layer: lsetxattr security.capability /usr/bin/caddy: operation not supported.
OpenWrt 23.05.2 r23630-842932a63d / LuCI openwrt-23.05 branch git-23.306.39416-c86c256

@dc-me
Copy link
Author

dc-me commented Mar 16, 2024

For anyone who's kernel does not have CONFIG_KERNEL_EXT4_FS_SECURITY option set, such as OpenWrt, use this image
docker pull danychen/adguardhome As this is not related to Adguardhome the issue will be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants