blob: dd51f782f4e985cfa82a8b89e2f102a33a7a4866 [file] [log] [blame]
//go:build !linux
package daemon
import (
"context"
"github.com/containerd/containerd/v2/core/containers"
coci "github.com/containerd/containerd/v2/pkg/oci"
"github.com/moby/moby/v2/daemon/container"
)
const supportsSeccomp = false
// 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
}
}