Vagrant box add fail

前端 未结 3 1410
轮回少年
轮回少年 2021-01-22 07:42

I was trying to add

laravel/homestead

box in vagrant but i get different errors.

By running

vagrant

相关标签:
3条回答
  • 2021-01-22 08:12
    vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead
    
    0 讨论(0)
  • 2021-01-22 08:20

    You don`t need to add the box from web. Init instead of this:

    vagrant init laravel/homestead
    vagrant up
    vagrant ssh
    

    Vagrant should add homestead in boxes list automatically. If you want to set up local downloaded box, you will be get better to add box directly from box directory.:

    cd [path in windows]
    vagrant box add [name_box] laravel/homestead
    vagrant up
    vagrant ssh
    
    0 讨论(0)
  • 2021-01-22 08:24

    Fixed.

    I downloaded

    cUrl x64 with SSL
    

    and replace it with the curl.exe provided by Vagrant.

    In other words, I copied the curl.exe to

    C:\HashiCorp\Vagrant\embedded\bin
    

    Now it's working perfect.

    0 讨论(0)
提交回复
热议问题