<p>I am working on openam deployment on Google cloud platform (GCP) and the OS is RHEL7.
I am facing issue while running minikube start.</p>

<pre><code>[root@test ~]# minikube start 

Starting local Kubernetes v1.10.0 cluster...
Starting VM...
Downloading Minikube ISO
 150.53 MB / 150.53 MB [============================================] 100.00% 0s
E0509 06:20:12.950109   16264 start.go:159] Error starting host: Error creating host: Error executing step: Running precreate checks.
: This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory.

 Retrying.
E0509 06:20:12.951500   16264 start.go:165] Error starting host:  Error creating host: Error executing step: Running precreate checks.
: This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory
</code></pre>

<p>I already installed virtualbox on RHEL. 
I want to know how to enable VT-X on GCP? </p>

<p>Thanks
Ashish</p>

Ashish Srivastava
<p><a href="https://github.com/kubernetes/minikube" rel="nofollow noreferrer">You can use</a> <code>--vm-driver=none</code> to run your minikube in cloud. This flag will run your minukube in Docker. You should have installed Docker first. </p>

<p>Also you can create a custom image where VMX will be enabled. Just follow the <a href="https://cloud.google.com/compute/docs/instances/enable-nested-virtualization-vm-instances" rel="nofollow noreferrer">official documentation instruction.</a> 
Example from the documentation on how to create a custom image with enabled VMX:</p>

<pre><code>gcloud compute images create nested-vm-image --source-disk disk1 --source-disk-zone us-central1-a  --licenses "https://www.googleapis.com/compute/v1/projects/vm-options/global/licenses/enable-vmx"
</code></pre>

<p>Then, just create a new VM with the custom image.</p>

<pre><code> gcloud compute instances create example-nested-vm --zone us-central1-b   --image nested-vm-image
</code></pre>

<p>After all, you can install the VirtualBox or KVM and start minikube.</p>
