mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-08 10:21:27 +00:00
clear-containers: Add script to launch base OS and kernel
This commit adds the script qemu.sh that will be used in a docker container (created with Dockerfile). This script will crate qemu instance to lauch a Clear Container base OS with a kernel generated with moby. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
@@ -70,6 +70,17 @@ following command:
|
||||
./bin/moby build ./projects/clear-containers/clear-containers.yml
|
||||
```
|
||||
|
||||
3. Test kernel
|
||||
|
||||
The Makefile target `qemu-lite` from `projects/clear-containers/tools`
|
||||
will launch the Clear Containers base OS and the
|
||||
with kernel built with moby. Use the `root` user to access to the test system,
|
||||
it will ask to setup a password.
|
||||
|
||||
```
|
||||
cd projects/clear-containers/tools
|
||||
make qemu-lite
|
||||
```
|
||||
|
||||
The file `clear-containers-bzImage` is not a bzImage\*. The file
|
||||
is a vmlinux image, see TODO. The [cc-oci-runtime] project can be
|
||||
|
Reference in New Issue
Block a user