2016-07-08 22:54:48 +00:00
|
|
|
// +build !linux
|
|
|
|
|
2018-02-05 21:05:59 +00:00
|
|
|
package daemon // import "github.com/docker/docker/daemon"
|
2016-07-08 22:54:48 +00:00
|
|
|
|
2019-04-10 18:45:14 +00:00
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"github.com/containerd/containerd/containers"
|
|
|
|
coci "github.com/containerd/containerd/oci"
|
|
|
|
"github.com/docker/docker/container"
|
|
|
|
)
|
|
|
|
|
2016-07-08 22:54:48 +00:00
|
|
|
var supportsSeccomp = false
|
2019-04-10 18:45:14 +00: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
|
|
|
|
}
|
|
|
|
}
|