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

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.
主站蜘蛛池模板: 连州市| 梨树县| 新竹市| 水城县| 基隆市| 曲靖市| 玉林市| 化州市| 鹰潭市| 大庆市| 河曲县| 普定县| 丹江口市| 滁州市| 沁源县| 绵竹市| 定兴县| 宁陕县| 广昌县| 多伦县| 凤翔县| 正镶白旗| 东方市| 民勤县| 龙口市| 余姚市| 遂宁市| 温宿县| 敖汉旗| 甘南县| 莲花县| 读书| 潢川县| 南溪县| 剑川县| 峨山| 清水河县| 诸城市| 卢氏县| 广州市| 玉环县|