1 // +build linux,!seccomp
8 "github.com/docker/docker/container"
9 "github.com/opencontainers/runtime-spec/specs-go"
12 var supportsSeccomp = false
14 func setSeccomp(daemon *Daemon, rs *specs.Spec, c *container.Container) error {
15 if c.SeccompProfile != "" && c.SeccompProfile != "unconfined" {
16 return fmt.Errorf("seccomp profiles are not supported on this daemon, you cannot specify a custom seccomp profile")