Security Contexts A security context defines the operating system security settings (uid, gid, capabilities, SELinux role, etc..) applied to a container.