Minikub Not Starting Ubuntu 18.4












1















Minikube not starting with several error messages.
kubectl version gives following message with port related message:



iqbal@ThinkPad:~$ kubectl version
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.2", GitCommit:"17c77c7898218073f14c8d573582e8d2313dc740", GitTreeState:"clean", BuildDate:"2018-10-24T06:54:59Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server localhost:8080 was refused - did you specify the right host or port?









share|improve this question

























  • Did you try minikube start --vm-driver=none? Also, what is your docker version docker version?

    – Abdennour TOUMI
    Nov 22 '18 at 5:35
















1















Minikube not starting with several error messages.
kubectl version gives following message with port related message:



iqbal@ThinkPad:~$ kubectl version
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.2", GitCommit:"17c77c7898218073f14c8d573582e8d2313dc740", GitTreeState:"clean", BuildDate:"2018-10-24T06:54:59Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server localhost:8080 was refused - did you specify the right host or port?









share|improve this question

























  • Did you try minikube start --vm-driver=none? Also, what is your docker version docker version?

    – Abdennour TOUMI
    Nov 22 '18 at 5:35














1












1








1








Minikube not starting with several error messages.
kubectl version gives following message with port related message:



iqbal@ThinkPad:~$ kubectl version
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.2", GitCommit:"17c77c7898218073f14c8d573582e8d2313dc740", GitTreeState:"clean", BuildDate:"2018-10-24T06:54:59Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server localhost:8080 was refused - did you specify the right host or port?









share|improve this question
















Minikube not starting with several error messages.
kubectl version gives following message with port related message:



iqbal@ThinkPad:~$ kubectl version
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.2", GitCommit:"17c77c7898218073f14c8d573582e8d2313dc740", GitTreeState:"clean", BuildDate:"2018-10-24T06:54:59Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server localhost:8080 was refused - did you specify the right host or port?






kubernetes






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 22 '18 at 5:34









Abdennour TOUMI

34.3k15142160




34.3k15142160










asked Nov 22 '18 at 5:13









Iqbal KhanIqbal Khan

243




243













  • Did you try minikube start --vm-driver=none? Also, what is your docker version docker version?

    – Abdennour TOUMI
    Nov 22 '18 at 5:35



















  • Did you try minikube start --vm-driver=none? Also, what is your docker version docker version?

    – Abdennour TOUMI
    Nov 22 '18 at 5:35

















Did you try minikube start --vm-driver=none? Also, what is your docker version docker version?

– Abdennour TOUMI
Nov 22 '18 at 5:35





Did you try minikube start --vm-driver=none? Also, what is your docker version docker version?

– Abdennour TOUMI
Nov 22 '18 at 5:35












2 Answers
2






active

oldest

votes


















1














You didn't give more details, but there are some concerns that I solved few days ago about minikube issues with kubernetes 1.12.



Indeed, the compatibility matrix between kubernetes and docker recommends to run :
Docker 18.06 + kubernetes 1.12 (Docker 18.09 is not supported now).



Thus, make sure docker version is NOT above 18.06. Then, run the following:



# clean up
minikube delete

minikube start --vm-driver="none"
kubectl get nodes


If you are still encountering issues, please give more details, namely minikube logs.






share|improve this answer
























  • Thank you so much for trying to help. However, i am using virtualbox and not docker. Please see if you can help there.

    – Iqbal Khan
    Nov 22 '18 at 5:57



















1














If you want to change the VM driver add the appropriate --vm-driver=xxx flag to minikube start. Minikube supports
the following drivers:




  • virtualbox

  • vmwarefusion

  • KVM2

  • KVM (deprecated in favor of KVM2)

  • hyperkit

  • xhyve

  • hyperv


  • none (Linux-only) - this driver can be used to run the Kubernetes cluster components on the host instead of in a VM. This can be useful for CI workloads which do not support nested virtualization. For example, if your vm is virtualbox then use:



    $ minikube delete
    $ minikube start --vm-driver=virtualbox







share|improve this answer

























    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%2f53424256%2fminikub-not-starting-ubuntu-18-4%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














    You didn't give more details, but there are some concerns that I solved few days ago about minikube issues with kubernetes 1.12.



    Indeed, the compatibility matrix between kubernetes and docker recommends to run :
    Docker 18.06 + kubernetes 1.12 (Docker 18.09 is not supported now).



    Thus, make sure docker version is NOT above 18.06. Then, run the following:



    # clean up
    minikube delete

    minikube start --vm-driver="none"
    kubectl get nodes


    If you are still encountering issues, please give more details, namely minikube logs.






    share|improve this answer
























    • Thank you so much for trying to help. However, i am using virtualbox and not docker. Please see if you can help there.

      – Iqbal Khan
      Nov 22 '18 at 5:57
















    1














    You didn't give more details, but there are some concerns that I solved few days ago about minikube issues with kubernetes 1.12.



    Indeed, the compatibility matrix between kubernetes and docker recommends to run :
    Docker 18.06 + kubernetes 1.12 (Docker 18.09 is not supported now).



    Thus, make sure docker version is NOT above 18.06. Then, run the following:



    # clean up
    minikube delete

    minikube start --vm-driver="none"
    kubectl get nodes


    If you are still encountering issues, please give more details, namely minikube logs.






    share|improve this answer
























    • Thank you so much for trying to help. However, i am using virtualbox and not docker. Please see if you can help there.

      – Iqbal Khan
      Nov 22 '18 at 5:57














    1












    1








    1







    You didn't give more details, but there are some concerns that I solved few days ago about minikube issues with kubernetes 1.12.



    Indeed, the compatibility matrix between kubernetes and docker recommends to run :
    Docker 18.06 + kubernetes 1.12 (Docker 18.09 is not supported now).



    Thus, make sure docker version is NOT above 18.06. Then, run the following:



    # clean up
    minikube delete

    minikube start --vm-driver="none"
    kubectl get nodes


    If you are still encountering issues, please give more details, namely minikube logs.






    share|improve this answer













    You didn't give more details, but there are some concerns that I solved few days ago about minikube issues with kubernetes 1.12.



    Indeed, the compatibility matrix between kubernetes and docker recommends to run :
    Docker 18.06 + kubernetes 1.12 (Docker 18.09 is not supported now).



    Thus, make sure docker version is NOT above 18.06. Then, run the following:



    # clean up
    minikube delete

    minikube start --vm-driver="none"
    kubectl get nodes


    If you are still encountering issues, please give more details, namely minikube logs.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 22 '18 at 5:43









    Abdennour TOUMIAbdennour TOUMI

    34.3k15142160




    34.3k15142160













    • Thank you so much for trying to help. However, i am using virtualbox and not docker. Please see if you can help there.

      – Iqbal Khan
      Nov 22 '18 at 5:57



















    • Thank you so much for trying to help. However, i am using virtualbox and not docker. Please see if you can help there.

      – Iqbal Khan
      Nov 22 '18 at 5:57

















    Thank you so much for trying to help. However, i am using virtualbox and not docker. Please see if you can help there.

    – Iqbal Khan
    Nov 22 '18 at 5:57





    Thank you so much for trying to help. However, i am using virtualbox and not docker. Please see if you can help there.

    – Iqbal Khan
    Nov 22 '18 at 5:57













    1














    If you want to change the VM driver add the appropriate --vm-driver=xxx flag to minikube start. Minikube supports
    the following drivers:




    • virtualbox

    • vmwarefusion

    • KVM2

    • KVM (deprecated in favor of KVM2)

    • hyperkit

    • xhyve

    • hyperv


    • none (Linux-only) - this driver can be used to run the Kubernetes cluster components on the host instead of in a VM. This can be useful for CI workloads which do not support nested virtualization. For example, if your vm is virtualbox then use:



      $ minikube delete
      $ minikube start --vm-driver=virtualbox







    share|improve this answer






























      1














      If you want to change the VM driver add the appropriate --vm-driver=xxx flag to minikube start. Minikube supports
      the following drivers:




      • virtualbox

      • vmwarefusion

      • KVM2

      • KVM (deprecated in favor of KVM2)

      • hyperkit

      • xhyve

      • hyperv


      • none (Linux-only) - this driver can be used to run the Kubernetes cluster components on the host instead of in a VM. This can be useful for CI workloads which do not support nested virtualization. For example, if your vm is virtualbox then use:



        $ minikube delete
        $ minikube start --vm-driver=virtualbox







      share|improve this answer




























        1












        1








        1







        If you want to change the VM driver add the appropriate --vm-driver=xxx flag to minikube start. Minikube supports
        the following drivers:




        • virtualbox

        • vmwarefusion

        • KVM2

        • KVM (deprecated in favor of KVM2)

        • hyperkit

        • xhyve

        • hyperv


        • none (Linux-only) - this driver can be used to run the Kubernetes cluster components on the host instead of in a VM. This can be useful for CI workloads which do not support nested virtualization. For example, if your vm is virtualbox then use:



          $ minikube delete
          $ minikube start --vm-driver=virtualbox







        share|improve this answer















        If you want to change the VM driver add the appropriate --vm-driver=xxx flag to minikube start. Minikube supports
        the following drivers:




        • virtualbox

        • vmwarefusion

        • KVM2

        • KVM (deprecated in favor of KVM2)

        • hyperkit

        • xhyve

        • hyperv


        • none (Linux-only) - this driver can be used to run the Kubernetes cluster components on the host instead of in a VM. This can be useful for CI workloads which do not support nested virtualization. For example, if your vm is virtualbox then use:



          $ minikube delete
          $ minikube start --vm-driver=virtualbox








        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 29 '18 at 13:38

























        answered Nov 22 '18 at 6:08









        Shudipta SharmaShudipta Sharma

        1,185413




        1,185413






























            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%2f53424256%2fminikub-not-starting-ubuntu-18-4%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

            Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

            Does disintegrating a polymorphed enemy still kill it after the 2018 errata?

            A Topological Invariant for $pi_3(U(n))$