This repository was archived by the owner on Mar 28, 2018. It is now read-only.
This repository was archived by the owner on Mar 28, 2018. It is now read-only.
Cannot start a Clear Container on an Ubuntu VM using VMware Fusion #1053
Open
Description
A lot of what I've experienced thus far aligns with the issue relates to #950.
This is a VM running in VMware Fusion with VT passthrough enabled:
I installed following the Ubuntu installation directions and nothing failed during installation. However, when I run:
$ sudo dockerd --add-runtime cor=/usr/bin/cc-oci-runtime --default-runtime=cor
and
$ sudo docker run -ti fedora bash
I see
ERRO[0008] containerd: start container error="containerd: container not started" id=8ffccf577048227ccf608706ab679f59c78bc566fc67ae0507a7125cce0d3768
ERRO[0008] Create container failed with error: containerd: container not started
ERRO[0008] Handler for POST /v1.30/containers/8ffccf577048227ccf608706ab679f59c78bc566fc67ae0507a7125cce0d3768/start returned error: containerd: container not started
and
docker: Error response from daemon: containerd: container not started.
respectively.
Thus far, I've been unable to track down any logs for cc-oci-runtime
or the cc-proxy
.
The hardware precheck succeeds:
dpitt@qemu-ubuntu:~$ ./check.sh container
Checking if host is capable of running Clear Linux* OS for Intel® Architecture in a container
SUCCESS: Intel CPU
SUCCESS: 64-bit CPU (lm)
SUCCESS: Streaming SIMD Extensions v4.1 (sse4_1)
SUCCESS: Virtualisation support (vmx)
SUCCESS: Kernel module kvm
SUCCESS: Kernel module kvm_intel
SUCCESS: Nested KVM support
SUCCESS: Unrestricted guest KVM support
SUCCESS: Kernel module vhost
SUCCESS: Kernel module vhost_net
While following along in #950, I found that the qemu command used to execute the Clear Container. Here's mine, altered slightly to reflect version and name changes:
$ sudo /usr/bin/qemu-lite-system-x86_64 \
-name dan-test \
-machine pc-lite,accel=kvm,kernel_irqchip,nvdimm \
-object memory-backend-file,id=mem0,mem-path=/usr/share/clear-containers/clear-15550-containers.img,size=235929600 \
-kernel /usr/share/clear-containers/vmlinux-4.9.35-62.container \
-chardev stdio,id=stdio,mux=on \
-device virtio-serial-pci \
-device virtconsole,chardev=stdio \
-mon chardev=stdio \
-display none
Like in the aforementioned issue, this command hangs and qemu-lite pegs the CPU at 100%.
Thanks so much!