Error Starting Minikube on Ubuntu VM VirutalBox Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Minikube install in Ubuntu vm_VT-X/AMD-v enabling to VM inside another VMError in starting pods- kubernetes. Pods remain in ContainerCreating stateMinikube not starting on Ubuntu, throwing errorskubernetes installation in windows 10 failed due to virtual machine set upMinikube service URL not workingminikube start - multiple timeskubernetes minikube start issue with virtualbox in windows-7Error when trying to start minikubeError in starting the Kubernetes minikube clusterVirtualbox running inside Linux Mint : issue with minikube credentialsKubernetes kubectl error: Unable to connect to server

Sally's older brother

I got rid of Mac OSX and replaced it with linux but now I can't change it back to OSX or windows

Is there public access to the Meteor Crater in Arizona?

Flight departed from the gate 5 min before scheduled departure time. Refund options

Can two people see the same photon?

Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?

The test team as an enemy of development? And how can this be avoided?

Putting class ranking in CV, but against dept guidelines

Why datecode is SO IMPORTANT to chip manufacturers?

What is the difference between a "ranged attack" and a "ranged weapon attack"?

How were pictures turned from film to a big picture in a picture frame before digital scanning?

Why is std::move not [[nodiscard]] in C++20?

One-one communication

Why is the change of basis formula counter-intuitive? [See details]

Project Euler #1 in C++

Weaponising the Grasp-at-a-Distance spell

What would you call this weird metallic apparatus that allows you to lift people?

Google .dev domain strangely redirects to https

Simple HTTP Server

How many time has Arya actually used Needle?

Tannaka duality for semisimple groups

A term for a woman complaining about things/begging in a cute/childish way

Can you force honesty by using the Speak with Dead and Zone of Truth spells together?

Co-worker has annoying ringtone



Error Starting Minikube on Ubuntu VM VirutalBox



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!Minikube install in Ubuntu vm_VT-X/AMD-v enabling to VM inside another VMError in starting pods- kubernetes. Pods remain in ContainerCreating stateMinikube not starting on Ubuntu, throwing errorskubernetes installation in windows 10 failed due to virtual machine set upMinikube service URL not workingminikube start - multiple timeskubernetes minikube start issue with virtualbox in windows-7Error when trying to start minikubeError in starting the Kubernetes minikube clusterVirtualbox running inside Linux Mint : issue with minikube credentialsKubernetes kubectl error: Unable to connect to server



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I do have an Ubuntu VM in VirtualBox on Windows 10. If i follow the instructions to install Minikube I get a start error:



> minikube start &
[1] 4297
vagrant@ubuntu-xenial:~$ o minikube v0.35.0 on linux (amd64)
> Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
@ Downloading Minikube ISO ...
184.42 MB / 184.42 MB [============================================] 100.00%
0s
! Unable to start VM: create: precreate: VBoxManage not found. Make sure
VirtualBox is installed and VBoxManage is in the path


Does it mean i need to install VirtualBox in the Ubuntu VM too? Kind of VB inside VB..



thanks










share|improve this question




























    0















    I do have an Ubuntu VM in VirtualBox on Windows 10. If i follow the instructions to install Minikube I get a start error:



    > minikube start &
    [1] 4297
    vagrant@ubuntu-xenial:~$ o minikube v0.35.0 on linux (amd64)
    > Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
    @ Downloading Minikube ISO ...
    184.42 MB / 184.42 MB [============================================] 100.00%
    0s
    ! Unable to start VM: create: precreate: VBoxManage not found. Make sure
    VirtualBox is installed and VBoxManage is in the path


    Does it mean i need to install VirtualBox in the Ubuntu VM too? Kind of VB inside VB..



    thanks










    share|improve this question
























      0












      0








      0








      I do have an Ubuntu VM in VirtualBox on Windows 10. If i follow the instructions to install Minikube I get a start error:



      > minikube start &
      [1] 4297
      vagrant@ubuntu-xenial:~$ o minikube v0.35.0 on linux (amd64)
      > Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
      @ Downloading Minikube ISO ...
      184.42 MB / 184.42 MB [============================================] 100.00%
      0s
      ! Unable to start VM: create: precreate: VBoxManage not found. Make sure
      VirtualBox is installed and VBoxManage is in the path


      Does it mean i need to install VirtualBox in the Ubuntu VM too? Kind of VB inside VB..



      thanks










      share|improve this question














      I do have an Ubuntu VM in VirtualBox on Windows 10. If i follow the instructions to install Minikube I get a start error:



      > minikube start &
      [1] 4297
      vagrant@ubuntu-xenial:~$ o minikube v0.35.0 on linux (amd64)
      > Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
      @ Downloading Minikube ISO ...
      184.42 MB / 184.42 MB [============================================] 100.00%
      0s
      ! Unable to start VM: create: precreate: VBoxManage not found. Make sure
      VirtualBox is installed and VBoxManage is in the path


      Does it mean i need to install VirtualBox in the Ubuntu VM too? Kind of VB inside VB..



      thanks







      kubernetes minikube






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 22 at 11:47









      toto'toto'

      1541114




      1541114






















          2 Answers
          2






          active

          oldest

          votes


















          1














          I'd recommend to install Minikube on your host OS (Windows) and use the already installed Virtual box as a hypervisor provider.



          If for any reason you want to launch it on Ubuntu VM, there are two options:



          I. Minikube supports a --vm-driver=none option that runs the Kubernetes components on the host and not in a VM. Using this driver requires Docker and a Linux environment, but not a hypervisor. In this case you have to provide an address to you local API server



           `minikube start --vm-driver=none --apiserver-ips 127.0.0.1 --apiserver-name localhost`


          And then go and edit ~/.kube/config, replacing the server IP that was
          detected from the main network interface with "localhost". For example:



          apiVersion: v1
          clusters:
          - cluster:
          certificate-authority-data:/home/asuh/.minikube/ca.crt
          server: https://localhost:8443
          name: minikube


          II. Install VM Ware on Windows and run Ubuntu within installed Virtualbox
          and and enabled VT-X/AMD-v in outer VM.




          Regarding the error you have at the moment:




          However now i get another error like: /usr/local/bin/minikube: cannot
          execute binary file




          Make sure you have installed a proper version of Minikube. For your Ubuntu VM it should be



          curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 
          && chmod +x minikube





          share|improve this answer

























          • many thanks. Can you please elaborate more on the configuration of the solution II ? What would be the difference to have VMWare?

            – toto'
            Mar 26 at 13:13







          • 1





            @toto' Virtual Box does not support VT-X/AMD-v in nested virtualization while VMWare does

            – A_Suh
            Mar 26 at 14:09


















          0














          It is not recommended to use VM inside VM to run minikube. Check this answer. Try to run minikube with no vm drivers.



          minikube start --vm-driver=none



          I have read on minikube issues, but can not find it right now.



          HTH






          share|improve this answer























          • thanks. However now i get another error like: /usr/local/bin/minikube: cannot execute binary file: Exec format error

            – toto'
            Mar 22 at 12:23












          • What is the reason behind installing minikube on VM? Why can't you just install Minikube on your host OS (Windows) and use already installed VirtualBox as a hypervisor provider?

            – A_Suh
            Mar 25 at 11:43











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55298938%2ferror-starting-minikube-on-ubuntu-vm-virutalbox%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          I'd recommend to install Minikube on your host OS (Windows) and use the already installed Virtual box as a hypervisor provider.



          If for any reason you want to launch it on Ubuntu VM, there are two options:



          I. Minikube supports a --vm-driver=none option that runs the Kubernetes components on the host and not in a VM. Using this driver requires Docker and a Linux environment, but not a hypervisor. In this case you have to provide an address to you local API server



           `minikube start --vm-driver=none --apiserver-ips 127.0.0.1 --apiserver-name localhost`


          And then go and edit ~/.kube/config, replacing the server IP that was
          detected from the main network interface with "localhost". For example:



          apiVersion: v1
          clusters:
          - cluster:
          certificate-authority-data:/home/asuh/.minikube/ca.crt
          server: https://localhost:8443
          name: minikube


          II. Install VM Ware on Windows and run Ubuntu within installed Virtualbox
          and and enabled VT-X/AMD-v in outer VM.




          Regarding the error you have at the moment:




          However now i get another error like: /usr/local/bin/minikube: cannot
          execute binary file




          Make sure you have installed a proper version of Minikube. For your Ubuntu VM it should be



          curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 
          && chmod +x minikube





          share|improve this answer

























          • many thanks. Can you please elaborate more on the configuration of the solution II ? What would be the difference to have VMWare?

            – toto'
            Mar 26 at 13:13







          • 1





            @toto' Virtual Box does not support VT-X/AMD-v in nested virtualization while VMWare does

            – A_Suh
            Mar 26 at 14:09















          1














          I'd recommend to install Minikube on your host OS (Windows) and use the already installed Virtual box as a hypervisor provider.



          If for any reason you want to launch it on Ubuntu VM, there are two options:



          I. Minikube supports a --vm-driver=none option that runs the Kubernetes components on the host and not in a VM. Using this driver requires Docker and a Linux environment, but not a hypervisor. In this case you have to provide an address to you local API server



           `minikube start --vm-driver=none --apiserver-ips 127.0.0.1 --apiserver-name localhost`


          And then go and edit ~/.kube/config, replacing the server IP that was
          detected from the main network interface with "localhost". For example:



          apiVersion: v1
          clusters:
          - cluster:
          certificate-authority-data:/home/asuh/.minikube/ca.crt
          server: https://localhost:8443
          name: minikube


          II. Install VM Ware on Windows and run Ubuntu within installed Virtualbox
          and and enabled VT-X/AMD-v in outer VM.




          Regarding the error you have at the moment:




          However now i get another error like: /usr/local/bin/minikube: cannot
          execute binary file




          Make sure you have installed a proper version of Minikube. For your Ubuntu VM it should be



          curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 
          && chmod +x minikube





          share|improve this answer

























          • many thanks. Can you please elaborate more on the configuration of the solution II ? What would be the difference to have VMWare?

            – toto'
            Mar 26 at 13:13







          • 1





            @toto' Virtual Box does not support VT-X/AMD-v in nested virtualization while VMWare does

            – A_Suh
            Mar 26 at 14:09













          1












          1








          1







          I'd recommend to install Minikube on your host OS (Windows) and use the already installed Virtual box as a hypervisor provider.



          If for any reason you want to launch it on Ubuntu VM, there are two options:



          I. Minikube supports a --vm-driver=none option that runs the Kubernetes components on the host and not in a VM. Using this driver requires Docker and a Linux environment, but not a hypervisor. In this case you have to provide an address to you local API server



           `minikube start --vm-driver=none --apiserver-ips 127.0.0.1 --apiserver-name localhost`


          And then go and edit ~/.kube/config, replacing the server IP that was
          detected from the main network interface with "localhost". For example:



          apiVersion: v1
          clusters:
          - cluster:
          certificate-authority-data:/home/asuh/.minikube/ca.crt
          server: https://localhost:8443
          name: minikube


          II. Install VM Ware on Windows and run Ubuntu within installed Virtualbox
          and and enabled VT-X/AMD-v in outer VM.




          Regarding the error you have at the moment:




          However now i get another error like: /usr/local/bin/minikube: cannot
          execute binary file




          Make sure you have installed a proper version of Minikube. For your Ubuntu VM it should be



          curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 
          && chmod +x minikube





          share|improve this answer















          I'd recommend to install Minikube on your host OS (Windows) and use the already installed Virtual box as a hypervisor provider.



          If for any reason you want to launch it on Ubuntu VM, there are two options:



          I. Minikube supports a --vm-driver=none option that runs the Kubernetes components on the host and not in a VM. Using this driver requires Docker and a Linux environment, but not a hypervisor. In this case you have to provide an address to you local API server



           `minikube start --vm-driver=none --apiserver-ips 127.0.0.1 --apiserver-name localhost`


          And then go and edit ~/.kube/config, replacing the server IP that was
          detected from the main network interface with "localhost". For example:



          apiVersion: v1
          clusters:
          - cluster:
          certificate-authority-data:/home/asuh/.minikube/ca.crt
          server: https://localhost:8443
          name: minikube


          II. Install VM Ware on Windows and run Ubuntu within installed Virtualbox
          and and enabled VT-X/AMD-v in outer VM.




          Regarding the error you have at the moment:




          However now i get another error like: /usr/local/bin/minikube: cannot
          execute binary file




          Make sure you have installed a proper version of Minikube. For your Ubuntu VM it should be



          curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 
          && chmod +x minikube






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 29 at 12:03









          Black_Bacardi

          30915




          30915










          answered Mar 25 at 12:17









          A_SuhA_Suh

          6667




          6667












          • many thanks. Can you please elaborate more on the configuration of the solution II ? What would be the difference to have VMWare?

            – toto'
            Mar 26 at 13:13







          • 1





            @toto' Virtual Box does not support VT-X/AMD-v in nested virtualization while VMWare does

            – A_Suh
            Mar 26 at 14:09

















          • many thanks. Can you please elaborate more on the configuration of the solution II ? What would be the difference to have VMWare?

            – toto'
            Mar 26 at 13:13







          • 1





            @toto' Virtual Box does not support VT-X/AMD-v in nested virtualization while VMWare does

            – A_Suh
            Mar 26 at 14:09
















          many thanks. Can you please elaborate more on the configuration of the solution II ? What would be the difference to have VMWare?

          – toto'
          Mar 26 at 13:13






          many thanks. Can you please elaborate more on the configuration of the solution II ? What would be the difference to have VMWare?

          – toto'
          Mar 26 at 13:13





          1




          1





          @toto' Virtual Box does not support VT-X/AMD-v in nested virtualization while VMWare does

          – A_Suh
          Mar 26 at 14:09





          @toto' Virtual Box does not support VT-X/AMD-v in nested virtualization while VMWare does

          – A_Suh
          Mar 26 at 14:09













          0














          It is not recommended to use VM inside VM to run minikube. Check this answer. Try to run minikube with no vm drivers.



          minikube start --vm-driver=none



          I have read on minikube issues, but can not find it right now.



          HTH






          share|improve this answer























          • thanks. However now i get another error like: /usr/local/bin/minikube: cannot execute binary file: Exec format error

            – toto'
            Mar 22 at 12:23












          • What is the reason behind installing minikube on VM? Why can't you just install Minikube on your host OS (Windows) and use already installed VirtualBox as a hypervisor provider?

            – A_Suh
            Mar 25 at 11:43















          0














          It is not recommended to use VM inside VM to run minikube. Check this answer. Try to run minikube with no vm drivers.



          minikube start --vm-driver=none



          I have read on minikube issues, but can not find it right now.



          HTH






          share|improve this answer























          • thanks. However now i get another error like: /usr/local/bin/minikube: cannot execute binary file: Exec format error

            – toto'
            Mar 22 at 12:23












          • What is the reason behind installing minikube on VM? Why can't you just install Minikube on your host OS (Windows) and use already installed VirtualBox as a hypervisor provider?

            – A_Suh
            Mar 25 at 11:43













          0












          0








          0







          It is not recommended to use VM inside VM to run minikube. Check this answer. Try to run minikube with no vm drivers.



          minikube start --vm-driver=none



          I have read on minikube issues, but can not find it right now.



          HTH






          share|improve this answer













          It is not recommended to use VM inside VM to run minikube. Check this answer. Try to run minikube with no vm drivers.



          minikube start --vm-driver=none



          I have read on minikube issues, but can not find it right now.



          HTH







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 22 at 12:13









          NiravNirav

          50110




          50110












          • thanks. However now i get another error like: /usr/local/bin/minikube: cannot execute binary file: Exec format error

            – toto'
            Mar 22 at 12:23












          • What is the reason behind installing minikube on VM? Why can't you just install Minikube on your host OS (Windows) and use already installed VirtualBox as a hypervisor provider?

            – A_Suh
            Mar 25 at 11:43

















          • thanks. However now i get another error like: /usr/local/bin/minikube: cannot execute binary file: Exec format error

            – toto'
            Mar 22 at 12:23












          • What is the reason behind installing minikube on VM? Why can't you just install Minikube on your host OS (Windows) and use already installed VirtualBox as a hypervisor provider?

            – A_Suh
            Mar 25 at 11:43
















          thanks. However now i get another error like: /usr/local/bin/minikube: cannot execute binary file: Exec format error

          – toto'
          Mar 22 at 12:23






          thanks. However now i get another error like: /usr/local/bin/minikube: cannot execute binary file: Exec format error

          – toto'
          Mar 22 at 12:23














          What is the reason behind installing minikube on VM? Why can't you just install Minikube on your host OS (Windows) and use already installed VirtualBox as a hypervisor provider?

          – A_Suh
          Mar 25 at 11:43





          What is the reason behind installing minikube on VM? Why can't you just install Minikube on your host OS (Windows) and use already installed VirtualBox as a hypervisor provider?

          – A_Suh
          Mar 25 at 11:43

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55298938%2ferror-starting-minikube-on-ubuntu-vm-virutalbox%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript