【发布时间】:2017-06-12 03:07:03
【问题描述】:
我看到了 scotch.io vagrant box,我很满意。所以我继续下载virtualbox和vagrant。还下载了 scotch.io vagrantfile。但是当我使用 cmd 在该目录中输入 vagrant up 时,我是一个 pc 用户。
它给出了这个错误
C:\Users\Myusername\Desktop\scotch-box-master>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'scotch/box' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'scotch/box' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://atlas.hashicorp.com/scotch/box"]
Error:
所以我尝试安装它尝试下载的精确 64 框,但它返回如下错误
C:\Users\Myusername\Desktop\Vagrant>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'precise64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'precise64' (v0) for provider: virtualbox
default: Downloading: http://files.vagrantup.com/precise64.box
default: Progress: 100% (Rate: 24/s, Estimated time remaining: --:--:--)
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
请帮我解决这个错误。 所以我刚刚下载了precision64.tar文件,由于远程安装不起作用,我该如何在本地安装它
【问题讨论】:
标签: vagrant vagrantfile vagrant-windows