0

我试图在我的机器上本地运行 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
4

1 回答 1

0

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

我建议你尝试:

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

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

$ minishift --v 5 start --vm-driver virtualbox
于 2018-10-24T07:20:29.903 回答