2016-07-08 18:54:48 -04:00
|
|
|
// +build !linux
|
|
|
|
|
2018-02-05 16:05:59 -05:00
|
|
|
package daemon // import "github.com/docker/docker/daemon"
|
2016-07-08 18:54:48 -04:00
|
|
|
|
2019-04-10 14:45:14 -04:00
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"github.com/containerd/containerd/containers"
|
|
|
|
coci "github.com/containerd/containerd/oci"
|
|
|
|
"github.com/docker/docker/container"
|
|
|
|
)
|
|
|
|
|
2016-07-08 18:54:48 -04:00
|
|
|
var supportsSeccomp = false
|
2019-04-10 14:45:14 -04:00
|
|
|
|
|
|
|
// WithSeccomp sets the seccomp profile
|
|
|
|
func WithSeccomp(daemon *Daemon, c *container.Container) coci.SpecOpts {
|
|
|
|
return func(ctx context.Context, _ coci.Client, _ *containers.Container, s *coci.Spec) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|