Linux沙箱之seccomp
docker 安全
# grep CONFIG_SECCOMP= /boot/config-$(uname -r)
CONFIG_SECCOMP=ySecurity Options:
seccomp
Profile: default# docker run -itd --security-opt seccomp=testprofile.json busybox:latest /bin/sh// LinuxSeccomp represents syscall restrictions
type LinuxSeccomp struct {
DefaultAction LinuxSeccompAction `json:"defaultAction"`
Architectures []Arch `json:"architectures,omitempty"`
Syscalls []LinuxSyscall `json:"syscalls,omitempty"`
}最后更新于