[Request]: Clearer error message when no kernel present
- Dominant language
- Swift
- Stars
- 49.9k
- Forks
- 1.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 22
Description
### Feature or enhancement request details
From a clean machine:
```
$ container run -it alpine:latest sh
Error: default kernel not configured for architecture arm64, please use the `container system kernel set` command to configure it
```
The error message could be even more clear by giving a detailed explanation of why it needs a kernel and how to get one. For example:
```
Error: No Linux kernel is configured for the 'arm64' architecture.
The container tool requires a lightweight Linux kernel (e.g., Kata Containers)
to provide the virtualization environment for your containers.
To resolve this, run:
container system kernel set --recommended
This will automatically download, install, and configure the latest
recommended kernel for your Mac.
```
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Contributor guide
Assessment
This issue has not been assessed yet.