我尝试在我的机器上本地运行open shift,所以我下载了Oracle Virtual box VirtualBox-5.2.20来运行mini shift虚拟机。问题是当我想使用mini shift启动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发布于 2018-10-24 15:20:30
似乎从Docker Hub拉取OpenShift容器镜像时出现了问题。这个问题可以重现吗?
我建议你试试:
$ minishift delete --clear-cache
$ minishift start --vm-driver virtualbox如果重复失败,您可以查看一些额外的日志记录是否可以揭示这一点:
$ minishift --v 5 start --vm-driver virtualboxhttps://stackoverflow.com/questions/52886640
复制相似问题