Files
moby/daemon/seccomp_unsupported.go
Derek McGowan f74e5d48b3 Create github.com/moby/moby/v2 module
Signed-off-by: Derek McGowan <derek@mcg.dev>
2025-07-31 10:13:29 -07:00

21 lines
468 B
Go

//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
}
}