Files
moby/daemon/seccomp_unsupported.go
Derek McGowan 0aa8fe0bf9 Update to containerd v2.0.2, buildkit v0.19.0-rc2
Update buildkit version to commit which uses 2.0

Signed-off-by: Derek McGowan <derek@mcg.dev>
2025-01-15 14:09:30 +01:00

21 lines
506 B
Go

//go:build !linux
package daemon // import "github.com/docker/docker/daemon"
import (
"context"
"github.com/containerd/containerd/v2/core/containers"
coci "github.com/containerd/containerd/v2/pkg/oci"
"github.com/docker/docker/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
}
}