hyperhq / runv

Hypervisor-based Runtime for OCI
Apache License 2.0
828 stars 129 forks source link

support kvmtool for runv #528

Closed gao-feng closed 7 years ago

gao-feng commented 7 years ago

run with docker ./runv --debug --driver kvmtool --kernel /kernel --initrd /hyper-initrd.img containerd dockerd -D -l debug --containerd=/run/runv-containerd/containerd.sock --add-runtime runv=runv --default-runtime runv

or simply ./runv --debug --driver kvmtool --kernel /kernel --initrd /hyper-initrd.img --log_dir=/tmp/runvlog run ubuntu -b pwd

Signed-off-by: Gao feng omarapazanadi@gmail.com

There is a serial port related bug or shortage on arm kvmtool, runv works well with patched kvmtool.