diff --git a/Sources/Services/ContainerAPIService/Client/ClientKernel.swift b/Sources/Services/ContainerAPIService/Client/ClientKernel.swift index 3cac4693c..39a9c6e16 100644 --- a/Sources/Services/ContainerAPIService/Client/ClientKernel.swift +++ b/Sources/Services/ContainerAPIService/Client/ClientKernel.swift @@ -84,7 +84,13 @@ extension ClientKernel { throw err } throw ContainerizationError( - .notFound, message: "default kernel not configured for architecture \(platform.architecture), please use the `container system kernel set` command to configure it") + .notFound, + message: """ + no Linux kernel is configured for the '\(platform.architecture)' architecture. \ + container requires a Linux kernel to provide the virtualization environment for running containers. \ + To automatically download and install the recommended kernel, run:\n\n container system kernel set --recommended + """ + ) } } }