Vagrant没有在Windows 7上工作

时间:2015-12-31 06:20:25

标签: windows-7 vagrant

我在Windows 7上安装了Vagrant 1.8.1。按照文档,运行以下命令: vagrant init hashicorp/precise32 vagrant up

vagrant init上,正在生成Vagrantfile,但vagrant up失败,我得到以下输出:

Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'hashicorp/precise32' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 The box 'hashicorp/precise32' 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/hashicorp/precise32"] Error:

以下是调试信息的错误:

URL: ["https://atlas.hashicorp.com/hashicorp/precise32"] Error: INFO interface: Machine: error-exit ["Vagrant::Errors::BoxAddShortNotFound", "The box 'hashicorp/precise32' could not be found or\ncould not be accessed in the remote catalog. If this is a private\nbox on HashiCorp's Atlas, please verify you're logged in via\n vagrant login . Also, please double-check the name. The expanded\nURL and error message are shown below:\n\nURL: [\"https://atlas.hashicorp.com/hashicorp/precise32\"]\nError: "]

我也尝试过禁用杀毒软件,但没有运气。然后我尝试在不同的机器上安装,在那台机器上我也得到相同的错误信息。

1 个答案:

答案 0 :(得分:1)