安装后,Minishift无法启动

时间:2018-10-19 06:00:46

标签: docker minishift

我试图在本机上本地运行开放式班次,因此我下载了Oracle Virtual box VirtualBox-5.2.20来运行小型班次虚拟机。问题是,当我想使用小排档启动来启动小排档时,它无法启动。

我得到以下信息:

-- 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

1 个答案:

答案 0 :(得分:0)

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

我建议您尝试:

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

如果重复失败,则可以查看是否可以进行一些额外的日志记录:

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