gopkg.in/docker/docker.v20@v20.10.27/daemon/seccomp_unsupported.go (about) 1 //go:build !linux 2 // +build !linux 3 4 package daemon // import "github.com/docker/docker/daemon" 5 6 import ( 7 "context" 8 9 "github.com/containerd/containerd/containers" 10 coci "github.com/containerd/containerd/oci" 11 "github.com/docker/docker/container" 12 ) 13 14 const supportsSeccomp = false 15 16 // WithSeccomp sets the seccomp profile 17 func WithSeccomp(daemon *Daemon, c *container.Container) coci.SpecOpts { 18 return func(ctx context.Context, _ coci.Client, _ *containers.Container, s *coci.Spec) error { 19 return nil 20 } 21 }