How to use kvm in a Centos 6 docker container via docker machine

Viewed 1680

I'm trying to use kvm in a Centos 6 docker container, via docker machine. My docker machine vm (vmware fusion based) supports nested VMs, but in my docker container I'm seeing:

modprobe kvm
FATAL: Could not load /lib/modules/4.1.12-boot2docker/modules.dep: No such file or directory
modprobe kvm_intel
FATAL: Could not load /lib/modules/4.1.12-boot2docker/modules.dep: No such file or directory

Any idea what I'm missing?

3 Answers
Related