AppArmor denial: `apparmor="DENIED" operation="mount"` in dmesg when starting a container.
IntermediateTroubleshootingSecurity, rootless, Podman and containerd
Answer
Likely causes → The default docker-default profile blocks the operation (mount, ptrace, etc.).
Diagnose → dmesg | grep apparmor; aa-status.
Fix → Write a custom profile with the needed rule (--security-opt apparmor=custom), or avoid the operation. Not unconfined unless sandboxed.
Prevent → Develop apps to work under default profiles.
More on Security, rootless, Podman and containerd
Rootless Docker: `dockerd-rootless.sh` fails with `newuidmap: write to uid_map failed: Operation not permitted`IntermediateRootless: `rootlesskit: failed to ... listen tcp 0.0.0.0:80: bind: permission denied`BeginnerRootless Docker stops when you log out of SSH.BeginnerRootless containers: `Error: ... cannot set up namespace using "/usr/bin/newuidmap": should have setuid or have filecaps setuid` (Podman).IntermediatePodman: `Error: short-name "nginx" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"`BeginnerPodman rootless: `Error: cannot find newuidmap` / ping fails inside container: `ping: permission denied (are you root?)`.Intermediate