Download the Kubernetes pre-installed VirtualBox image(Ubuntu_18.04.vdi file). Register a new VirtualBox instance. VBoxManage createvm --name k8s-runtime-local --ostype Ubuntu_64 --register Set CPU count, the memory size and port forwarding rules. VBoxManage modifyvm "k8s-runtime-local" --ostype Ubuntu_64 --cpus 4 --memory 8000 --natpf1 "guestkube,tcp,,6443,,6443" --natpf1 "guestssh,tcp,,2222,,22"