【问题标题】:Minishift does not start after after installationMinishift 安装后不启动
【发布时间】:2018-10-19 06:00:45
【问题描述】:

我试图在我的机器上本地运行 open shift,所以我下载了 Oracle Virtual box VirtualBox-5.2.20 来运行 mini shift 虚拟机。问题是当我想使用 mini shift start 启动 mini shift 时,它不会启动。

我得到以下信息:

-- Starting profile 'minishift'
-- Using proxy for the setup
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.10.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.10.0' is supported ... OK
-- Checking if requested hypervisor 'virtualbox' is supported on this platform ... OK
-- Checking if VirtualBox is installed ... OK
-- Checking the ISO URL ... OK
-- Checking if provided oc flags are supported ... OK
-- Starting the OpenShift cluster using 'virtualbox' hypervisor ...
-- Starting Minishift VM ........................-- Setting proxy information ... .OK
..... OK
-- Checking for IP address ... OK

-- Checking for nameservers ... OK
-- Checking if external host is reachable from the Minishift VM ...
   Pinging 8.8.8.8 ... FAIL
   VM is unable to ping external host
-- Checking HTTP connectivity from the VM ...
   Retrieving http://minishift.io/index.html ... OK
-- Checking if persistent storage volume is mounted ... OK
-- Checking available disk space ... 1% used OK
-- OpenShift cluster will be configured with ...
   Version: v3.10.0
-- Pulling the Openshift Container Image .....................................................................................................................................................................Error pulling the openshift container image: ssh command error:
command : docker pull openshift/origin-control-plane:v3.10.0
err     : exit status 1
output  : Trying to pull repository docker.io/openshift/origin-control-plane ...
v3.10.0: Pulling from docker.io/openshift/origin-control-plane
aeb7866da422: Pulling fs layer
8bd69565c444: Pulling fs layer
37c5cca65a4a: Pulling fs layer
250356f18bea: Retrying in 3 seconds
250356f18bea: Retrying in 2 seconds
250356f18bea: Retrying in 1 second
250356f18bea: Verifying Checksum
250356f18bea: Download complete
unexpected EOF

【问题讨论】:

  • 您好!您目前正在运行哪个 minishift 版本?另外:这是您第一次尝试开始 minishift,还是已经为您工作了?
  • minishift-1.23.0-windows-amd64

标签: docker minishift


【解决方案1】:

似乎从 Docker Hub 拉取 OpenShift 容器映像时出现问题。这个问题可以重现吗?

我建议你试试:

$ minishift delete --clear-cache
$ minishift start --vm-driver virtualbox

如果反复失败,您可以查看一些额外的日志记录是否可以对此有所了解:

$ minishift --v 5 start --vm-driver virtualbox

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-03-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-01-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多