Interview Prep/Docker/Security, rootless, Podman and containerd

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.

All Docker questions Roadmap: Docker & containers

More on Security, rootless, Podman and containerd