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