diff --git a/pkg/server/container_create_unix.go b/pkg/server/container_create_unix.go index 6f3b8963f..2793c21f2 100644 --- a/pkg/server/container_create_unix.go +++ b/pkg/server/container_create_unix.go @@ -170,7 +170,7 @@ func (c *criService) containerSpec(id string, sandboxID string, sandboxPid uint3 } specOpts = append(specOpts, oci.WithPrivileged) if !ociRuntime.PrivilegedWithoutHostDevices { - specOpts = append(specOpts, oci.WithHostDevices) + specOpts = append(specOpts, oci.WithHostDevices, oci.WithAllDevicesAllowed) } } else { // not privileged specOpts = append(specOpts, customopts.WithDevices(c.os, config), customopts.WithCapabilities(securityContext))