MichaIng / DietPi

Lightweight justice for your single-board computer!

Home Page:https://dietpi.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker pull error on Pine64 Quartz64 Model A

gxsw opened this issue · comments

commented

Creating a bug report/issue

  • I have searched the existing open and closed issues

Required Information

  • DietPi version |
    G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=5
    G_DIETPI_VERSION_RC=1
    G_GITBRANCH='master'
    G_GITOWNER='MichaIng'

  • Distro version | bookworm

  • Kernel version | Linux nextcloudpi 6.9.3 #1 SMP PREEMPT Sun Jun 9 16:47:50 UTC 2024 aarch64 GNU/Linux

  • SBC model | Quartz64 (aarch64)

  • Power supply used | na

  • SD card used | eMMC module

Steps to reproduce

  1. install docker
  2. docker pull caddy:alpine (OR pihole/pihole:latest)
  3. output: failed to register layer: lsetxattr security.capability /usr/bin/caddy: operation not supported

Expected behaviour

docker pull should be successful

Actual behaviour

Several standard docker images working on other sbc show error, when pulled
Error message: failed to register layer: lsetxattr security.capability /usr/bin/caddy: operation not supported

Extra details

related resources
AdguardTeam/AdGuardHome#6816
https://forum.openwrt.org/t/docker-pull-fails-failed-to-register-layer-operation-not-supported/138253/63?page=2
=> it might be related to Kernel setting CONFIG_KERNEL_EXT4_FS_SECURITY and KERNEL_EXT4_FS_POSIX_ACL

  • ...
commented

I just moved dietpi_userdata containing docker image folder from the system ext4 mount to a btrfs mount => it's working there

Thanks for reporting. CONFIG_EXT4_FS_SECURITY was missing, indeed.

Added with: a026453
Kernel package builds are running. I'll push them to our APT server, once done.

I pushed the new packages to our APT server, please check whether this solves your issue:

apt update
apt upgrade
reboot
commented

Thank you! :)
It's working now on ext4!