gofabric8在Windows 10 Pro上安装minishift失败

时间:2017-02-25 16:02:43

标签: openshift fabric8

Windows 10 Pro上的

gofabric8安装失败:

Unable to get status fork/exec C:\Users\FriendOfEntropy\.fabric8
\bin\minishift.exe: The file or directory is corrupted and unreadable.

操作系统:Windows 10 Pro

虚拟化:独家使用Hyper-V ...愉快地运行Docker for Windows一段时间(不是Docker机器,没有虚拟机)

很难在各种gofabric8安装说明之间做出决定,但似乎我不必先安装Minishift,但我可以用--minishift开关启动gofabric8并且它会抓取并配置所有内容。 Install Fabric8

  • 我下载了gofabric8-windows-amd64.exe并将其放在一个名为的文件夹中 C:\ fabric8

  • 将该文件夹中的exe重命名为fabric8.exe

  • 将该文件夹放入我的路径中。

以下是版本:

    C:\fabric8>gofabric8 version
    gofabric8, version 0.4.120 (branch: 'master', revision: 'a1f42fe')
      build date:       '20170222-10:59:23'
      go version:       '1.7.1'

然后遵循该指南:

    C:\fabric8>gofabric8 start --minishift

    Downloading https://github.com/jimmidyson/minishift/releases/download/v1.0.0-beta.4/minishift-windows-amd64.exe...
    Downloaded C:\Users\FriendOfEntropy\.fabric8\bin\minishift.exe
    Downloading https://storage.googleapis.com/kubernetes-release/release/v1.4.9/bin/windows/amd64/kubectl.exe...
    Downloaded C:\Users\FriendOfEntropy\.fabric8\bin\kubectl.exe
    Downloading https://github.com/openshift/origin/releases/download/v1.3.1/openshift-origin-client-tools-v1.3.1-dad658de7465ba8a234a4fb40b5b446a45a4cee1-windows.zip...
    Downloaded oc
    Downloading https://github.com/fabric8io/funktion-operator/releases/download/v1.0.9/funktion-operator-windows-amd64.exe...
    Downloaded C:\Users\FriendOfEntropy\.fabric8\bin\funktion 
    using the executable C:\Users\FriendOfEntropy\.fabric8\bin\minishift.exe Unable to get status fork/exec C:\Users\FriendOfEntropy\.fabric8\bin\minishift.exe: The file or directory is corrupted and unreadable.


    C:\fabric8>

该文件夹看起来很好,因为它刚刚由gofabric8

创建
     Directory of C:\Users\FriendOfEntropy\.fabric8\bin

    02/25/2017  09:20 AM    <DIR>          .
    02/25/2017  09:20 AM    <DIR>          ..
    02/25/2017  09:20 AM           129,195 funktion
    02/25/2017  09:20 AM        80,019,456 kubectl.exe
    02/25/2017  09:20 AM            10,759 LICENSE
    02/25/2017  09:20 AM           129,195 minishift.exe
    02/25/2017  09:20 AM        95,878,144 oc.exe
    02/25/2017  09:20 AM        19,317,606 oc.zip
    02/25/2017  09:20 AM            20,497 README.md

我发现了一些关于$ HOME变量的帖子,所以我创建了一个名为HOME的环境变量,其值为C:\ Users \ FriendOfEntropy.fabric8 \ bin但是没有区别。

我甚至将C:\ Users \ FriendOfEntropy.fabric8 \ bin添加到我的PATH中,这也无济于事

0 个答案:

没有答案