Vagrant up - 找不到框 'ubuntu/vivid64'
Vagrant up - The box 'ubuntu/vivid64' could not be found
在 vagrant up 上不断收到此错误:
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/vivid64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'ubuntu/vivid64' 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/ubuntu/vivid64"]
Error: The requested URL returned error: 404 Not Found
我提示url有问题,但不知道如何解决..
那个盒子不存在 - url returns 一个 404。试试不同的,比如 https://atlas.hashicorp.com/ubuntu/boxes/wily64
您也可以试试 larryli/vivid64 盒子。
您可以执行以下步骤之一:
在 Vagrantfile 中用这个替换(找到等效的定义)
Vagrant.configure("2") 做|配置|
config.vm.box = "larryli/vivid64"
结束
删除 Vagrantfile 并创建一个新文件。
rm Vagranfile
流浪者初始化 larryli/vivid64
流浪起来
解决方法之一是允许不安全的下载,为我下载了盒子
在 Vagrantfile 中添加这个
config.vm.box_download_insecure = 真
在 vagrant up 上不断收到此错误:
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/vivid64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'ubuntu/vivid64' 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/ubuntu/vivid64"]
Error: The requested URL returned error: 404 Not Found
我提示url有问题,但不知道如何解决..
那个盒子不存在 - url returns 一个 404。试试不同的,比如 https://atlas.hashicorp.com/ubuntu/boxes/wily64
您也可以试试 larryli/vivid64 盒子。
您可以执行以下步骤之一:
在 Vagrantfile 中用这个替换(找到等效的定义)
Vagrant.configure("2") 做|配置| config.vm.box = "larryli/vivid64" 结束
删除 Vagrantfile 并创建一个新文件。
rm Vagranfile 流浪者初始化 larryli/vivid64 流浪起来
解决方法之一是允许不安全的下载,为我下载了盒子
在 Vagrantfile 中添加这个 config.vm.box_download_insecure = 真