Run two workloads that require different kernels on one physical host.
Which design is generally appropriate?
When workloads need different guest kernels, use separate virtual machines so each can boot its own kernel.
Detailed explanation
Correct. Separate VMs provide independent guest kernels and isolation boundaries.
Correct. Separate VMs provide independent guest kernels and isolation boundaries.
Incorrect. Containers on one host normally share its kernel.
Incorrect. Containers on one host normally share its kernel.
Incorrect. Sharing one directory does not provide kernel isolation.
Incorrect. Sharing one directory does not provide kernel isolation.
Incorrect. Starting both workloads as one process removes the required isolation.
Incorrect. Starting both workloads as one process removes the required isolation.
Try it yourself
An example you can run in a temporary verification environment.
uname -srmExpected result
現在環境のkernel情報。VM作成は行わないKey points
- VM isolation
- Different kernels
- Workload requirement
Notes
- Environment: 一般的なLinux仮想化概念
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.