Vagrant box add fail

前端 未结 3 1411
轮回少年
轮回少年 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: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
    

提交回复
热议问题