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

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.
主站蜘蛛池模板: 南漳县| 北流市| 昌宁县| 西青区| 息烽县| 温宿县| 合阳县| 江永县| 武冈市| 淮滨县| 南京市| 通辽市| 乌拉特后旗| 秀山| 乐清市| 灌阳县| 庆城县| 河北区| 新邵县| 彝良县| 吉木萨尔县| 筠连县| 栖霞市| 通江县| 克什克腾旗| 黄浦区| 彩票| 怀化市| 邵东县| 江山市| 库车县| 门源| 雷州市| 眉山市| 崇州市| 都江堰市| 融水| 米泉市| 井冈山市| 嵊泗县| 哈尔滨市|