官术网_书友最值得收藏!

sub-commands

There are seven sub-commands available for the box command:

  • vagrant box add [INSERT VALUE]: Adds and downloads a Vagrant box to your system. This box can then be used in your Vagrantfile to create a Vagrant machine.
  • vagrant box list: Lists all installed boxes installed on your system.
  • vagrant box outdated: Checks whether the current Vagrant box is outdated. You can add the --global flag, which will check all installed Vagrant boxes.
  • vagrant box prune: Removes old versions of installed boxes. It will ask for confirmation if you are currently using an old version of a box it wants to delete.
  • vagrant box remove [INSERT VALUE]: Removes a Vagrant box by name as the first parameter supplied.
  • vagrant box repackage [INSERT VALUE] [INSERT VALUE] [INSERT VALUE]: Repackages a Vagrant box into a .box file using the name as the first parameter, the provider as the second parameter, and the version as the third parameter. You can get the parameter values using the vagrant box list command. The box can then be distributed.
  • vagrant box update: Checks and updates the current box you are using. You can supply the --box [INSERT VALUE] flag where the first parameter is the box name that you wish to specifically update.
主站蜘蛛池模板: 稷山县| 松原市| 台东县| 靖远县| 龙江县| 洪洞县| 建德市| 军事| 安溪县| 新竹市| 屯门区| 横山县| 奉节县| 鹿泉市| 三亚市| 高碑店市| 乡城县| 阳信县| 和林格尔县| 湖南省| 论坛| 江都市| 兴义市| 女性| 东明县| 阜新| 高邮市| 涟源市| 宜兰市| 积石山| 保山市| 康乐县| SHOW| 左云县| 浮山县| 天气| 桃园市| 鄯善县| 洱源县| 郸城县| 石阡县|