Vagrant Box 的基本命令

vagrant

查看所有盒子:

$ vagrant box list
laravel/homestead (virtualbox, 0.6.0)

删除盒子:

$ vagrant box remove laravel/homestead
Box 'laravel/homestead' (v0.6.0) with provider 'virtualbox' appears
to still be in use by at least one Vagrant environment. Removing
the box could corrupt the environment. We recommend destroying
these environments first:

homestead-7 (ID: 9e03fd743c19485eb3fee607137ddabf)

Are you sure you want to remove this box? [y/N] y
Removing box 'laravel/homestead' (v0.6.0) with provider 'virtualbox'...

新增加盒子:

$ vagrant box add laravel/homestead
评论数量: 1
frowhy

羡慕,从来只能 vagrant add homestead.json。


0
点赞
707
浏览
1
评论

贡献 538
Summer
Building Products Users Love