containerd / nerdctl

contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ubuntu24 unavailable (`fork/exec /proc/self/exe: operation not permitted`)

6643 opened this issue · comments

Description

[INFO] Checking RootlessKit functionality
[rootlesskit:parent] error: failed to start the child: fork/exec /proc/self/exe: operation not permitted
[ERROR] RootlessKit failed, see the error messages and https://rootlesscontaine.rs/getting-started/common/ .

Steps to reproduce the issue

Describe the results you received and expected

nerdctl
FATA[0000] rootless containerd not running? (hint: use containerd-rootless-setuptool.sh install to start rootless containerd): stat /run/user/1000/containerd-rootless: no such file or directory

What version of nerdctl are you using?

ubuntu24

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

What's your RootlessKit version?

Please try this

cat <<EOT | sudo tee "/etc/apparmor.d/usr.local.bin.rootlesskit"
abi <abi/4.0>,
include <tunables/global>

/usr/local/bin/rootlesskit flags=(unconfined) {
  userns,

  # Site-specific additions and overrides. See local/README for details.
  include if exists <local/usr.local.bin.rootlesskit>
}
EOT
sudo systemctl restart apparmor.service
commented

@AkihiroSuda

thank you