What is seccomp and what is Docker's default profile?
AdvancedConceptContainers, VMs & Isolation Internals
Answer
Seccomp filters which system calls a process may make. Docker ships a default allow-list profile that blocks around 40-50 of 300+ syscalls (kexec_load, mount without CAP_SYS_ADMIN, reboot, bpf etc.). Override with --security-opt seccomp=profile.json; seccomp=unconfined disables it. Kubernetes historically defaulted to unconfined unless RuntimeDefault is set.
More on Containers, VMs & Isolation Internals
What is a container, in one sentence?BeginnerHow do containers differ from virtual machines?BeginnerCan a Linux container run a Windows application, or the reverse?IntermediateWhat are Linux namespaces? Name the ones Docker uses.BeginnerWhat are cgroups and what do they do for containers?BeginnerWhat is PID 1 in a container and why does it matter?Intermediate