无法解析主机'cdk-builds.usersys.redhat.com'

时间:2016-10-17 17:43:03

标签: vagrant openshift redhat microservices fabric8

安装流浪汉时,我遇到以下错误.... 我正在关注https://fabric8.io/guide/getStarted/cdk.html进行安装。

pwd

/Users/apple/openshift-vagrant/cdk-v2

vagrant up

Bringing machine 'cdk' up with 'virtualbox' provider...
==> cdk: Box 'cdk_v2' could not be found. Attempting to find and install...
    cdk: Box Provider: virtualbox
    cdk: Box Version: >= 0
==> cdk: Box file was not detected as metadata. Adding it directly...
==> cdk: Adding box 'cdk_v2' (v0) for provider: virtualbox
    cdk: Downloading: http://cdk-builds.usersys.redhat.com/builds/nightly/27-May-2016/rhel-7-cdk-vagrant-scratch-7.2.27052016-1.x86_64.vagrant-virtualbox.box
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Couldn't resolve host 'cdk-builds.usersys.redhat.com'

任何想法?

2 个答案:

答案 0 :(得分:1)

来自您需要的Prerequisites

  

创建和配置VM期间的活动VPN连接

如果您未连接到内部Red Hat网络,则无法下载该框

你应该使用另一个盒子/ Vagrantfile

答案 1 :(得分:0)

我们不建议再使用Vagrant,但您应该支持使用minikube或minishift。

http://fabric8.io/guide/getStarted/index.html